summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-05-03 09:57:40 -0500
committerInstrumental <jonathan.gathman@att.com>2019-05-03 09:57:44 -0500
commit6c74e83e3a47a1e5b218253a1dba8bb89af5a002 (patch)
tree125ef4dcd5e00e1eb7f7a36001c60197aafe5280
parent15466c492522a6593605fb599da5619bae53dfb4 (diff)
Adjust STAGING tag
Issue-ID: AAF-823 Change-Id: I9738105929c5b12ddf5cd11664ec701848593765 Signed-off-by: Instrumental <jonathan.gathman@att.com>
-rw-r--r--auth/docker/dpush.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth/docker/dpush.sh b/auth/docker/dpush.sh
index e6230028..380f6aa5 100644
--- a/auth/docker/dpush.sh
+++ b/auth/docker/dpush.sh
@@ -31,8 +31,8 @@ for AAF_COMPONENT in ${AAF_COMPONENTS}; do
$DOCKER push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${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
- $DOCKER tag ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION} ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}-STAGING-latest
+ $DOCKER tag ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION} ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION%-SNAPSHOT}-STAGING-latest
$DOCKER push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}-latest
$DOCKER push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:latest
- $DOCKER push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}-STAGING-latest
+ $DOCKER push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION%-SNAPSHOT}-STAGING-latest
done