diff options
Diffstat (limited to 'docker_merge.sh')
-rwxr-xr-x | docker_merge.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docker_merge.sh b/docker_merge.sh index 076f84b7..2960f5c1 100755 --- a/docker_merge.sh +++ b/docker_merge.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}-${TIMESTAMP}" + TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${image}:${MVN_VERSION}-${TIMESTAMP}" echo $TAGS @@ -63,6 +63,6 @@ done # for image in policy-nexus policy-db policy-drools policy-pe; do echo "Pushing $image" - docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:${MVN_MAJMIN_VERSION}-latest - docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:${MVN_VERSION}-${TIMESTAMP} + docker push ${DOCKER_REPOSITORY}/onap/policy/$image:${MVN_MAJMIN_VERSION}-latest + docker push ${DOCKER_REPOSITORY}/onap/policy/$image:${MVN_VERSION}-${TIMESTAMP} done |