Skip to content

Commit

Permalink
Merge "FAB-15114 Disable "latest" multiarch tag"
Browse files Browse the repository at this point in the history
  • Loading branch information
denyeart authored and Gerrit Code Review committed Apr 9, 2019
2 parents 4483ade + e78bddc commit 08899e3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/multiarch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ for image in ${IMAGES}; do
docker pull ${NS_PULL}/${image}:s390x-${VERSION} || missing
done

# push the multiarch manifest and tag with just $VERSION and 'latest'
# 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}"\
--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}"\
--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}"\
# --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}"\
--target "${NS_PUSH}/${image}:${TWO_DIGIT_VERSION}"
Expand All @@ -84,7 +84,7 @@ done
for image in ${IMAGES}; do
docker pull ${NS_PULL}/${image}:${VERSION} || failed
docker pull ${NS_PULL}/${image}:${TWO_DIGIT_VERSION} || failed
docker pull ${NS_PULL}/${image}:latest || failed
# docker pull ${NS_PULL}/${image}:latest || failed
done

echo "Successfully pushed multiarch manifest"
Expand Down

0 comments on commit 08899e3

Please sign in to comment.