Skip to content

Commit 43749a2

Browse files
Merge pull request #1179 from sayan-biswas/add-ppc64le-s390x
Add ppc64le and s390x architecture
2 parents 549d5be + 05ac2b7 commit 43749a2

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.tekton/source-to-image-pull-request.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ spec:
108108
- default:
109109
- linux/x86_64
110110
- linux/arm64
111+
- linux/ppc64le
112+
- linux/s390x
111113
description: List of platforms to build the container images on. The available
112114
set of values is determined by the configuration of the multi-platform-controller.
113115
name: build-platforms

.tekton/source-to-image-push.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ spec:
105105
- default:
106106
- linux/x86_64
107107
- linux/arm64
108+
- linux/ppc64le
109+
- linux/s390x
108110
description: List of platforms to build the container images on. The available
109111
set of values is determined by the configuration of the multi-platform-controller.
110112
name: build-platforms

Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENV S2I_GIT_VERSION="1.4.0" \
66

77
COPY . .
88

9-
RUN CGO_ENABLED=0 go build -a -ldflags="-s -w" -o /tmp/s2i ./cmd/s2i
9+
RUN CGO_ENABLED=0 GO111MODULE=on go build -a -mod=vendor -ldflags="-s -w" -o /tmp/s2i ./cmd/s2i
1010

1111
#
1212
# Runner Image
@@ -25,7 +25,6 @@ LABEL \
2525
description="Source-to-Image is a builder image" \
2626
summary="Source-to-Image is a builder image" \
2727
version="1.4.0" \
28-
architecture="${GOARCH}" \
2928
vendor="Red Hat, Inc." \
3029
com.redhat.component="source-to-image-container" \
3130
maintainer="[email protected]" \

0 commit comments

Comments
 (0)