Skip to content

Commit

Permalink
[FAB-17060] Remove s390x from multiarch script
Browse files Browse the repository at this point in the history
Signed-off-by: Brett Logan <Brett.T.Logan@ibm.com>
Change-Id: Ie89f113a3aad9560f69a5a33cf459e9f38dc3b57
  • Loading branch information
lindluni committed Nov 13, 2019
1 parent 707f763 commit 06f4ad8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/multiarch.sh
Expand Up @@ -64,19 +64,18 @@ IMAGES="fabric-peer fabric-orderer fabric-ccenv fabric-tools"
# check that all images have been published
for image in ${IMAGES}; do
docker pull ${NS_PULL}/${image}:amd64-${VERSION} || missing
docker pull ${NS_PULL}/${image}:s390x-${VERSION} || missing
done

# push the multiarch manifest and tag with $VERSION,$TWO_DIGIT_VERSION and latest tag
for image in ${IMAGES}; do
manifest-tool --username ${USER} --password ${PASSWORD} push from-args\
--platforms linux/amd64,linux/s390x --template "${NS_PULL}/${image}:ARCH-${VERSION}"\
--platforms linux/amd64 --template "${NS_PULL}/${image}:ARCH-${VERSION}"\
--target "${NS_PUSH}/${image}:${VERSION}"
manifest-tool --username ${USER} --password ${PASSWORD} push from-args\
--platforms linux/amd64,linux/s390x --template "${NS_PULL}/${image}:ARCH-${VERSION}"\
--platforms linux/amd64 --template "${NS_PULL}/${image}:ARCH-${VERSION}"\
--target "${NS_PUSH}/${image}:latest"
manifest-tool --username ${USER} --password ${PASSWORD} push from-args\
--platforms linux/amd64,linux/s390x --template "${NS_PULL}/${image}:ARCH-${VERSION}"\
--platforms linux/amd64 --template "${NS_PULL}/${image}:ARCH-${VERSION}"\
--target "${NS_PUSH}/${image}:${TWO_DIGIT_VERSION}"
done

Expand Down

0 comments on commit 06f4ad8

Please sign in to comment.