Skip to content

Commit 0df5c93

Browse files
authored
Adding power(ppc64le) arch support (#296)
Needing power(ppc64le) arch based "grpcurl" binaries here https://docs.openshift.com/container-platform/4.9/operators/admin/olm-restricted-networks.html 1. Adding power support for releases and docker images(multi-arch). signed-off-by : Amit Ghatwal <ghatwala@us.ibm.com>
1 parent 353e095 commit 0df5c93

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.goreleaser.yml

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ builds:
1010
- 386
1111
- arm64
1212
- s390x
13+
- ppc64le
1314
ignore:
1415
- goos: darwin
1516
goarch: 386
@@ -19,6 +20,10 @@ builds:
1920
goarch: s390x
2021
- goos: windows
2122
goarch: s390x
23+
- goos: darwin
24+
goarch: ppc64le
25+
- goos: windows
26+
goarch: ppc64le
2227
ldflags:
2328
- -s -w -X main.version=v{{.Version}}
2429

releasing/do-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $PREFIX docker run --privileged --rm tonistiigi/binfmt:qemu-v6.1.0 --install all
4949
export DOCKER_CLI_EXPERIMENTAL=enabled
5050
$PREFIX docker buildx create --use --name multiarch-builder --node multiarch-builder0
5151
# push to docker hub, both the given version as a tag and for "latest" tag
52-
$PREFIX docker buildx build --platform linux/amd64,linux/s390x,linux/arm64 --tag fullstorydev/grpcurl:${VERSION} --tag fullstorydev/grpcurl:latest --push --progress plain --no-cache .
52+
$PREFIX docker buildx build --platform linux/amd64,linux/s390x,linux/arm64,linux/ppc64le --tag fullstorydev/grpcurl:${VERSION} --tag fullstorydev/grpcurl:latest --push --progress plain --no-cache .
5353
rm VERSION
5454

5555
# Homebrew release

0 commit comments

Comments
 (0)