diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2018-03-16 12:46:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-16 12:46:16 +0000 |
commit | 841ce4781f4963dd072f7439f53e4b57b5c57c12 (patch) | |
tree | f1edbfd52a8b202f906eb9258375e0f14966afcb /docker_build.sh | |
parent | af657153239498810248a58b97c7edd8046cac7b (diff) | |
parent | 6dc5a2487d476e204a5d350ac5eaf8eb42d988a8 (diff) |
Merge "Renamed docker images"
Diffstat (limited to 'docker_build.sh')
-rwxr-xr-x | docker_build.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docker_build.sh b/docker_build.sh index 5fe01bed..9a83d6a5 100755 --- a/docker_build.sh +++ b/docker_build.sh @@ -48,19 +48,19 @@ 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 is the nexus repo prepended for latest tagged image. # -TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${IMAGE}:latest" +TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/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}-STAGING-${TIMESTAMP}" +TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/${IMAGE}:${MVN_VERSION}-STAGING-${TIMESTAMP}" echo $TAGS @@ -77,7 +77,7 @@ docker images echo "Pushing $IMAGE" -docker push ${DOCKER_REPOSITORY}/onap/policy/$IMAGE:latest +docker push ${DOCKER_REPOSITORY}/onap/$IMAGE:latest if [ $? -ne 0 ] then @@ -86,7 +86,7 @@ then fi -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 @@ -94,7 +94,7 @@ then exit 1 fi -docker push ${DOCKER_REPOSITORY}/onap/policy/$IMAGE:${MVN_VERSION}-STAGING-${TIMESTAMP} +docker push ${DOCKER_REPOSITORY}/onap/$IMAGE:${MVN_VERSION}-STAGING-${TIMESTAMP} if [ $? -ne 0 ] then |