diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2019-05-09 17:50:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-09 17:50:02 +0000 |
commit | e214d04776a9c2f9619c078c3ec07cc43176dda6 (patch) | |
tree | 81e2884188850fffd23fb6b9d22fcef1fecf3afd /jjb | |
parent | 0cd0f9db4cc21ec099ab9776ce46fe25671cf901 (diff) | |
parent | 22d037a5fd0fc932fb6d3b820f7a4ae1d5a4d1e8 (diff) |
Merge "Add timestamp tag for testsuite docker image"
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/testsuite/testsuite-docker.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/jjb/testsuite/testsuite-docker.sh b/jjb/testsuite/testsuite-docker.sh index d29d43c97..ca5e95aba 100644 --- a/jjb/testsuite/testsuite-docker.sh +++ b/jjb/testsuite/testsuite-docker.sh @@ -4,7 +4,11 @@ echo '============== CALLING SCRIPT TO CREATE DOCKER IMAGES =================' cp $WORKSPACE/docker/* . docker -D build -t onap/testsuite . export REPO="nexus3.onap.org:10003" -for tag in $tags + +DATETIME_STAMP=$(date +%Y%m%dT%H%M%S) +STAGING_TAG=${base_version}-STAGING-${DATETIME_STAMP}Z + +for tag in $tags $STAGING_TAG do docker tag onap/testsuite:latest $REPO/onap/testsuite:$tag docker push $REPO/onap/testsuite:$tag |