Update docker tag convention
Update docker scripts to comply with ONAP docker standard tag format
$VERSION-STAGING-YYYYMMDDTHHMMSSZ
Issue-ID: CIMAN-132
Change-Id: I28e2aea5425c614bf86b0a6f0e8fa0892ec018c3
Signed-off-by: mmis <michael.morris@ericsson.com>
diff --git a/docker_merge.sh b/docker_merge.sh
index 085a1ce..9312b48 100644
--- a/docker_merge.sh
+++ b/docker_merge.sh
@@ -54,7 +54,7 @@
#
# 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
@@ -81,7 +81,7 @@
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