Skip to content

Commit

Permalink
Add s390x docker image build
Browse files Browse the repository at this point in the history
fix issue: nats-io#68

Signed-off-by: Yan Song YS Liu <lysliu@cn.ibm.com>
  • Loading branch information
lysliu committed Feb 28, 2024
1 parent cfb8da7 commit 160d7a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ifneq ($(ver),)
# Ensure 'docker buildx ls' shows correct platforms.
docker buildx build \
--tag $(drepo)/nats-box:$(ver) --tag $(drepo)/nats-box:latest \
--platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 \
--platform linux/amd64,linux/s390x,linux/arm/v6,linux/arm/v7,linux/arm64/v8 \
--push .
else
# Missing version, try this.
Expand Down
2 changes: 1 addition & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function "get_tags_suffix" {

function "get_platforms_multiarch" {
params = []
result = CI ? ["linux/amd64", "linux/arm/v6", "linux/arm/v7", "linux/arm64"] : []
result = CI ? ["linux/amd64", "linux/s390x", "linux/arm/v6", "linux/arm/v7", "linux/arm64"] : []
}

function "get_output" {
Expand Down

0 comments on commit 160d7a2

Please sign in to comment.