summaryrefslogtreecommitdiffstats
path: root/docker_merge.sh
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2018-03-21 10:38:42 -0700
committermmis <michael.morris@ericsson.com>2018-03-29 10:35:43 +0100
commitd234bad707d39d442a64ae3f3c10c082b9bc2b16 (patch)
treeaffa32b40b44c94f2e162b261b911d1a438dab35 /docker_merge.sh
parent1145b1ecb4efd211d1e7ff4376056cb1cc421bbb (diff)
Update docker tag convention
Update docker tagging script used by daily release builds: $VERSION-STAGING-YYYYMMDDTHHMMSSZ Change-Id: Ib3207f175fd41a8e90664bb1a139d4e0a3fcf259 Issue-ID: CIMAN-132 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'docker_merge.sh')
-rwxr-xr-xdocker_merge.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker_merge.sh b/docker_merge.sh
index 72f15323..ec350f78 100755
--- a/docker_merge.sh
+++ b/docker_merge.sh
@@ -56,7 +56,7 @@ TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/${IMAGE}:${MVN_MAJMIN_VERSION}-lat
#
# This has the nexus repo prepended and major/minor/patch version with timestamp
#
-TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/${IMAGE}:${MVN_VERSION}-${TIMESTAMP}"
+TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/${IMAGE}:${MVN_VERSION}-${TIMESTAMP}Z"
echo $TAGS
@@ -83,7 +83,7 @@ then
exit 1
fi
-docker push ${DOCKER_REPOSITORY}/onap/$IMAGE:${MVN_VERSION}-${TIMESTAMP}
+docker push ${DOCKER_REPOSITORY}/onap/$IMAGE:${MVN_VERSION}-${TIMESTAMP}Z
if [ $? -ne 0 ]
then