From f21fd8d325d0ecaef9dec95029569e496e4e29b3 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Tue, 13 Nov 2018 09:54:12 -0600 Subject: [PATCH] Add 'latest' image tags Issue-ID: AAF-630 Change-Id: I3f1f481561800e7b57970165085e95b9ac17fca0 Signed-off-by: Instrumental --- auth/docker/dpush.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auth/docker/dpush.sh b/auth/docker/dpush.sh index f793315b..b81a3383 100644 --- a/auth/docker/dpush.sh +++ b/auth/docker/dpush.sh @@ -29,5 +29,6 @@ AAF_COMPONENTS="config agent core cass $(cat components) " for AAF_COMPONENT in ${AAF_COMPONENTS}; do # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION} $DOCKER push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION} - # docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${NEW_VERSION} + docker tag ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION} ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}-latest + docker tag ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION} ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:latest done -- 2.16.6