Skip to content

Commit

Permalink
FAB-15126 Disable latest multiarch tag
Browse files Browse the repository at this point in the history
This patchset updates multiarch script to disable "latest"
multiarch tag.

Change-Id: Ib918b76627dec43e3c585a02fbbddbd218d50e19
Signed-off-by: rameshthoomu <rameshbabu.thoomu@gmail.com>
  • Loading branch information
rameshthoomu committed Apr 9, 2019
1 parent 68c72ec commit 5f8e2da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/multiarch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ for image in ${IMAGES}; do
manifest-tool --username ${USER} --password ${PASSWORD} push from-args\
--platforms linux/amd64,linux/s390x --template "${NS}/${image}:ARCH-${VERSION}"\
--target "${NS}/${image}:${VERSION}"
manifest-tool --username ${USER} --password ${PASSWORD} push from-args\
--platforms linux/amd64,linux/s390x --template "${NS}/${image}:ARCH-${VERSION}"\
--target "${NS}/${image}:latest"
# manifest-tool --username ${USER} --password ${PASSWORD} push from-args\
# --platforms linux/amd64,linux/s390x --template "${NS}/${image}:ARCH-${VERSION}"\
# --target "${NS}/${image}:latest"
manifest-tool --username ${USER} --password ${PASSWORD} push from-args\
--platforms linux/amd64,linux/s390x --template "${NS}/${image}:ARCH-${VERSION}"\
--target "${NS}/${image}:${TWO_DIGIT_VERSION}"
Expand All @@ -75,7 +75,7 @@ done
for image in ${IMAGES}; do
docker pull ${NS}/${image}:${VERSION} || failed
docker pull ${NS}/${image}:${TWO_DIGIT_VERSION} || failed
docker pull ${NS}/${image}:latest || failed
# docker pull ${NS}/${image}:latest || failed
done

echo "Successfully pushed multiarch manifest"
Expand Down

0 comments on commit 5f8e2da

Please sign in to comment.