From aefd2800e8257b5ee46a2df80bf20a662878287d Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Wed, 1 Aug 2018 14:26:14 -0700 Subject: Do not untag downloaded docker images Untagging the images makes it impossible to identify the docker image versions actually running on the system. This change resolves the issue. Change-Id: I8b93a2d6b1ac02ce9adf27c9c1fd89c2445d5735 Issue-ID: SO-728 Signed-off-by: Gary Wu --- deploy.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'deploy.sh') diff --git a/deploy.sh b/deploy.sh index d785713..7cbcbe5 100755 --- a/deploy.sh +++ b/deploy.sh @@ -98,12 +98,10 @@ function pull_docker_images() { # get images $DOCKER_CMD pull $NEXUS_DOCKER_REPO_MSO/openecomp/mso:$MSO_DOCKER_IMAGE_VERSION $DOCKER_CMD tag $NEXUS_DOCKER_REPO_MSO/openecomp/mso:$MSO_DOCKER_IMAGE_VERSION openecomp/mso:latest - $DOCKER_CMD rmi $NEXUS_DOCKER_REPO_MSO/openecomp/mso:$MSO_DOCKER_IMAGE_VERSION echo "Using Nexus for MARIADB: $NEXUS_DOCKER_REPO_MARIADB (user "$NEXUS_USERNAME_MARIADB")" $DOCKER_CMD pull $NEXUS_DOCKER_REPO_MARIADB/mariadb:10.1.11 $DOCKER_CMD tag $NEXUS_DOCKER_REPO_MARIADB/mariadb:10.1.11 mariadb:10.1.11 - $DOCKER_CMD rmi $NEXUS_DOCKER_REPO_MARIADB/mariadb:10.1.11 } -- cgit 1.2.3-korg