diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-03-16 11:02:05 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2017-03-16 11:02:13 -0400 |
commit | ceba3d8388f059e3a2463255596c791c34fbb98b (patch) | |
tree | 2c0f458f7311bd2fd491fedde3578aeebbb5e832 /docker_build.sh | |
parent | 2fc2222ac3d420c93f6ce49bc0f3951e822d5342 (diff) |
getting better requirements
Change-Id: I47ba52cb95a1bbe20eca81854109c0ef6db0b808
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'docker_build.sh')
-rwxr-xr-x | docker_build.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docker_build.sh b/docker_build.sh index f4cf2f4d..acd07c9a 100755 --- a/docker_build.sh +++ b/docker_build.sh @@ -2,7 +2,13 @@ # echo '============== STARTING SCRIPT TO BUILD DOCKER IMAGES =================' +# +# THIS SHOULD BE REPLACED WITH SPECIFIC REPOSITORY FOR THIS RELEASE +# DOCKER_REPOSITORY=nexus3.openecomp.org:10003 +# +# RELEASE BUILD CREATES latest tag and the STAGING tag +# MVN_VERSION=$(cat target/version) MVN_VERSION="${MVN_VERSION}-STAGING" TIMESTAMP=$(date -u +%Y%m%dT%H%M%S) @@ -34,6 +40,5 @@ done for image in policy-nexus policy-db policy-drools policy-pe; do echo "Pushing $image" docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:latest -# docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:${MVN_VERSION}-latest docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:${MVN_VERSION}-${TIMESTAMP} done |