Skip to content

Commit 05ac2b7

Browse files
committed
Add ppc64le and s390x architecture
Changes: - Add ppc64le and s390x to the multi-build pipeline
1 parent 549d5be commit 05ac2b7

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 1 addition & 2 deletions
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)