Skip to content

Commit

Permalink
s390x (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsliouniaev authored Jun 24, 2020
1 parent 5f9068b commit 621271f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .cicd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ build() {

build amd64
build arm
build arm64
build arm64
build s390x
3 changes: 2 additions & 1 deletion .cicd/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ dbuild() {
dbuild amd64
dbuild arm
dbuild arm64
dbuild s390x

docker run $dockerRepo:amd64-$vers version
docker run $dockerRepo:amd64-$vers version
7 changes: 5 additions & 2 deletions .cicd/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ else
dpush amd64
dpush arm
dpush arm64
dpush s390x
docker manifest create $dockerRepo:$vers \
$dockerRepo:amd64-$vers \
$dockerRepo:arm-$vers \
$dockerRepo:arm64-$vers
$dockerRepo:arm64-$vers \
$dockerRepo:s390x-$vers
dmtag amd64
dmtag arm
dmtag arm64
dmtag s390x
docker manifest push $dockerRepo:$vers
fi
fi
2 changes: 1 addition & 1 deletion .cicd/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ docker run --rm \
-e GOOS=linux \
-e GOARCH=amd64 \
golang:1.12-stretch \
/bin/bash -c "$command"
/bin/bash -c "$command"

0 comments on commit 621271f

Please sign in to comment.