aboutsummaryrefslogtreecommitdiffstats
path: root/docker_build.sh
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-03-30 10:50:45 -0400
committerPamela Dragosh <pdragosh@research.att.com>2017-03-30 10:52:03 -0400
commit18882a02287cc431144612ac87a5a3473693c067 (patch)
tree9f29ed2e2a68670865959d5f2e714790089ca687 /docker_build.sh
parent31052f85bec9cdbfa8ba8cd2f7ecf77461defbb2 (diff)
update to ONAP
Change-Id: I52ddbe21bc6ba9922bcd70ff41c754c7d20098b5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'docker_build.sh')
-rwxr-xr-xdocker_build.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/docker_build.sh b/docker_build.sh
index 226bf947..cd86c629 100755
--- a/docker_build.sh
+++ b/docker_build.sh
@@ -1,7 +1,7 @@
#!/bin/bash
#
echo '============== STARTING SCRIPT TO BUILD DOCKER IMAGES ================='
-DOCKER_REPOSITORY=nexus3.openecomp.org:10003
+DOCKER_REPOSITORY=nexus3.onap.org:10003
MVN_VERSION=$(cat target/version)
MVN_MAJMIN_VERSION=$(cut -f 1,2 -d . target/version)
TIMESTAMP=$(date -u +%Y%m%dT%H%M%S)
@@ -43,15 +43,15 @@ for image in policy-os policy-nexus policy-db policy-base policy-drools policy-p
#
# This is the local latest tagged image. The Dockerfile's need this to build images
#
- TAGS="--tag openecomp/policy/${image}:latest"
+ TAGS="--tag onap/policy/${image}:latest"
#
# This has the nexus repo prepended and only major/minor version with latest
#
- TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/openecomp/policy/${image}:${MVN_MAJMIN_VERSION}-latest"
+ TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${image}:${MVN_MAJMIN_VERSION}-latest"
#
# This has the nexus repo prepended and major/minor/patch version with timestamp
#
- TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/openecomp/policy/${image}:${MVN_VERSION}-STAGING-${TIMESTAMP}"
+ TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${image}:${MVN_VERSION}-STAGING-${TIMESTAMP}"
echo $TAGS
@@ -60,7 +60,7 @@ 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_MAJMIN_VERSION}-latest
- docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:${MVN_VERSION}-STAGING-${TIMESTAMP}
+ docker push ${DOCKER_REPOSITORY}/onap/policy/$image:latest
+ docker push ${DOCKER_REPOSITORY}/onap/policy/$image:${MVN_MAJMIN_VERSION}-latest
+ docker push ${DOCKER_REPOSITORY}/onap/policy/$image:${MVN_VERSION}-STAGING-${TIMESTAMP}
done