diff options
author | mmis <michael.morris@ericsson.com> | 2018-03-14 12:35:35 +0000 |
---|---|---|
committer | mmis <michael.morris@ericsson.com> | 2018-03-14 14:11:37 +0000 |
commit | 6dc5a2487d476e204a5d350ac5eaf8eb42d988a8 (patch) | |
tree | 28cd6e049fbcb781d7f25cd77dec975c3ee4741d /docker_merge.sh | |
parent | a4f7d7f89afa8296c892be8c906b23098aa7b0d0 (diff) |
Renamed docker images
Renamed from:
onap/policy/policy-nexus
to
onap/policy-nexus
and updated references to renamed onap/policy-pe and onap/policy-drools.
This enables consistent naming across nexus and docker hub
Issue-ID: POLICY-674
Change-Id: Id28ea0db973b58582bc368b0a6f92c552c54c2db
Signed-off-by: mmis <michael.morris@ericsson.com>
Diffstat (limited to 'docker_merge.sh')
-rwxr-xr-x | docker_merge.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docker_merge.sh b/docker_merge.sh index ae003193..72f15323 100755 --- a/docker_merge.sh +++ b/docker_merge.sh @@ -48,15 +48,15 @@ cp $IMAGE/* target/$IMAGE # # This is the local latest tagged image. The Dockerfile's need this to build images # -TAGS="--tag onap/policy/${IMAGE}:latest" +TAGS="--tag onap/${IMAGE}:latest" # # This has the nexus repo prepended and only major/minor version with latest # -TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${IMAGE}:${MVN_MAJMIN_VERSION}-latest" +TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/${IMAGE}:${MVN_MAJMIN_VERSION}-latest" # # This has the nexus repo prepended and major/minor/patch version with timestamp # -TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${IMAGE}:${MVN_VERSION}-${TIMESTAMP}" +TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/${IMAGE}:${MVN_VERSION}-${TIMESTAMP}" echo $TAGS @@ -75,7 +75,7 @@ docker images # Push image # echo "Pushing $IMAGE" -docker push ${DOCKER_REPOSITORY}/onap/policy/$IMAGE:${MVN_MAJMIN_VERSION}-latest +docker push ${DOCKER_REPOSITORY}/onap/$IMAGE:${MVN_MAJMIN_VERSION}-latest if [ $? -ne 0 ] then @@ -83,7 +83,7 @@ then exit 1 fi -docker push ${DOCKER_REPOSITORY}/onap/policy/$IMAGE:${MVN_VERSION}-${TIMESTAMP} +docker push ${DOCKER_REPOSITORY}/onap/$IMAGE:${MVN_VERSION}-${TIMESTAMP} if [ $? -ne 0 ] then |