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 <[email protected]>
Change-Id: I35ff2063f18326ee495d398a679f810e25c8282c
  • Loading branch information
Brett Logan authored and Brett Logan committed Nov 13, 2019
1 parent 85aebd6 commit 34587f7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/multiarch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,15 @@ IMAGES="fabric-baseos 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 just $VERSION
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}:${TWO_DIGIT_VERSION}"
done

Expand Down

0 comments on commit 34587f7

Please sign in to comment.