Skip to content

Commit

Permalink
Adding power(ppc64le) arch support (#296)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ghatwala authored Jun 27, 2022
1 parent 353e095 commit 0df5c93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ builds:
- 386
- arm64
- s390x
- ppc64le
ignore:
- goos: darwin
goarch: 386
Expand All @@ -19,6 +20,10 @@ builds:
goarch: s390x
- goos: windows
goarch: s390x
- goos: darwin
goarch: ppc64le
- goos: windows
goarch: ppc64le
ldflags:
- -s -w -X main.version=v{{.Version}}

Expand Down
2 changes: 1 addition & 1 deletion releasing/do-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ $PREFIX docker run --privileged --rm tonistiigi/binfmt:qemu-v6.1.0 --install all
export DOCKER_CLI_EXPERIMENTAL=enabled
$PREFIX docker buildx create --use --name multiarch-builder --node multiarch-builder0
# push to docker hub, both the given version as a tag and for "latest" tag
$PREFIX docker buildx build --platform linux/amd64,linux/s390x,linux/arm64 --tag fullstorydev/grpcurl:${VERSION} --tag fullstorydev/grpcurl:latest --push --progress plain --no-cache .
$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 .
rm VERSION

# Homebrew release
Expand Down

0 comments on commit 0df5c93

Please sign in to comment.