aboutsummaryrefslogtreecommitdiffstats
path: root/docker-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker-build.sh')
-rw-r--r--docker-build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker-build.sh b/docker-build.sh
index 9f0b3926..6cb73bf7 100644
--- a/docker-build.sh
+++ b/docker-build.sh
@@ -91,7 +91,7 @@ cp -p ${APP_DIR}/Dockerfile ${STAGE}/Dockerfile
#
# build the docker image. tag and then push to the remote repo
#
-IMAGE='onap/dcaegen2-ves-collector'
+IMAGE='onap/dcaegen2.ves.collector'
VERSION="${VERSION//[^0-9.]/}"
VERSION2=$(echo "$VERSION" | cut -f1-2 -d'.')
@@ -136,6 +136,8 @@ STAGING|staging)
;;
esac
+#docker login "$REPO" -u "$IMAGE" -p "<password>"
+
OLDTAG="${LFQI}"
PUSHTAGS="${REPO}/${IMAGE}:${VERSION}${EXT}${TIMESTAMP} ${REPO}/${IMAGE}:latest ${REPO}/${IMAGE}:${VERSION2}${EXT}-latest"
for NEWTAG in ${PUSHTAGS}