diff options
author | Instrumental <jonathan.gathman@att.com> | 2018-11-13 09:54:12 -0600 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2018-11-13 09:54:16 -0600 |
commit | f21fd8d325d0ecaef9dec95029569e496e4e29b3 (patch) | |
tree | 2e921432b81ccb36e41d4921c5112aa8fde8fde9 | |
parent | c47a17628d66da14a1e606ec900b5ceb86937a18 (diff) |
Add 'latest' image tags
Issue-ID: AAF-630
Change-Id: I3f1f481561800e7b57970165085e95b9ac17fca0
Signed-off-by: Instrumental <jonathan.gathman@att.com>
-rw-r--r-- | auth/docker/dpush.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |