summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-09-29 11:29:09 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-09-29 11:29:09 +0200
commite30a45c0a8d598a4765dbd14c266271065719a70 (patch)
treeb7b8d9c94aab3a5c1e774cb63783318205578ee5
parentae7c6c9eceb21544deb3452e46b0b70c04ab7021 (diff)
Adapt docker commands to version 1.12.1
Change-Id: If99c135537750779c037bc4f47732a894da91a7b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
-rw-r--r--jjb/opnfv/opnfv-docker.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/opnfv/opnfv-docker.sh b/jjb/opnfv/opnfv-docker.sh
index c5edf7cc3..f56de7f60 100644
--- a/jjb/opnfv/opnfv-docker.sh
+++ b/jjb/opnfv/opnfv-docker.sh
@@ -59,7 +59,7 @@ if [[ "$UPDATE_LATEST_STABLE" == "true" ]]; then
echo "ERROR: The image $DOCKER_REPO_NAME with tag $STABLE_TAG does not exist."
exit 1
fi
- docker tag -f $DOCKER_REPO_NAME:$STABLE_TAG $DOCKER_REPO_NAME:latest_stable
+ docker tag $DOCKER_REPO_NAME:$STABLE_TAG $DOCKER_REPO_NAME:latest_stable
echo "Pushing $DOCKER_REPO_NAME:latest_stable ..."
docker push $DOCKER_REPO_NAME:latest_stable
exit 0
@@ -119,7 +119,7 @@ else
fi
echo "Creating tag '$DOCKER_TAG'..."
-docker tag -f $DOCKER_REPO_NAME:$DOCKER_BRANCH_TAG $DOCKER_REPO_NAME:$DOCKER_TAG
+docker tag $DOCKER_REPO_NAME:$DOCKER_BRANCH_TAG $DOCKER_REPO_NAME:$DOCKER_TAG
# list the images
echo "Available images are:"