From: Instrumental Date: Tue, 13 Nov 2018 15:54:12 +0000 (-0600) Subject: Add 'latest' image tags X-Git-Tag: 2.1.8~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=f21fd8d325d0ecaef9dec95029569e496e4e29b3;p=aaf%2Fauthz.git Add 'latest' image tags Issue-ID: AAF-630 Change-Id: I3f1f481561800e7b57970165085e95b9ac17fca0 Signed-off-by: Instrumental --- 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