summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build4basedocker.sh4
-rw-r--r--build4docker.sh6
2 files changed, 5 insertions, 5 deletions
diff --git a/build4basedocker.sh b/build4basedocker.sh
index 3a823fd..473f4fe 100644
--- a/build4basedocker.sh
+++ b/build4basedocker.sh
@@ -42,9 +42,9 @@ chmod +x build_docker_image.sh
docker rmi ${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION}
-./build_docker_image.sh -n=${DOCKER_IMAGE_NAME} -v=${DOCKER_RELEASE_VERSION} -d=./docker
+./build_docker_image.sh -n=${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME} -v=${DOCKER_RELEASE_VERSION} -d=./docker
-echo "Pushing ${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION}"
+echo "Pushing ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION}"
docker push ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION}
diff --git a/build4docker.sh b/build4docker.sh
index 7da1b38..cb91d02 100644
--- a/build4docker.sh
+++ b/build4docker.sh
@@ -48,12 +48,12 @@ chmod 777 build_docker_image.sh
docker rm -f ${DOCKER_RUN_NAME}
docker rmi ${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION}
-./build_docker_image.sh -n=${DOCKER_IMAGE_NAME} -v=${DOCKER_RELEASE_VERSION} -d=./docker
+./build_docker_image.sh -n=${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME} -v=${DOCKER_RELEASE_VERSION} -d=./docker
#docker run
-docker run -d --net=host --name ${DOCKER_RUN_NAME} ${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION}
+docker run -d --net=host --name ${DOCKER_RUN_NAME} ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION}
docker ps |grep ${DOCKER_RUN_NAME}
-echo "Pushing ${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION}"
+echo "Pushing ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION}"
docker push ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION} \ No newline at end of file