From 14a555ffab17799aca3fba70d0382a427307d777 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Wed, 8 Feb 2017 17:10:41 +0000 Subject: [PATCH] Stop using tag -f (It's been removed from Docker) --- bin/release | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/release b/bin/release index 24e8502f3..8410567bb 100755 --- a/bin/release +++ b/bin/release @@ -170,9 +170,9 @@ publish() { if [ "$RELEASE_TYPE" = 'PRERELEASE' ]; then echo "== Tagging and pushing images on docker hub as user $DOCKERHUB_USER" - $SUDO docker tag -f "$DOCKERHUB_USER"/scope "$DOCKERHUB_USER/scope:$VERSION" + $SUDO docker tag "$DOCKERHUB_USER"/scope "$DOCKERHUB_USER/scope:$VERSION" $SUDO docker push "$DOCKERHUB_USER/scope:$VERSION" - $SUDO docker tag -f "$DOCKERHUB_USER/scope:$VERSION" "$DOCKERHUB_USER/scope:latest_release" + $SUDO docker tag "$DOCKERHUB_USER/scope:$VERSION" "$DOCKERHUB_USER/scope:latest_release" $SUDO docker push "$DOCKERHUB_USER/scope:latest_release" echo "** Docker images tagged and pushed" @@ -205,9 +205,9 @@ publish() { echo '** Sanity checks OK for publishing tag' "$LATEST_TAG" as "$DOCKERHUB_USER/scope:$VERSION" echo "== Tagging and pushing images on docker hub as user $DOCKERHUB_USER" - $SUDO docker tag -f "$DOCKERHUB_USER"/scope "$DOCKERHUB_USER/scope:$VERSION" + $SUDO docker tag "$DOCKERHUB_USER"/scope "$DOCKERHUB_USER/scope:$VERSION" $SUDO docker push "$DOCKERHUB_USER"/scope:$"VERSION" - $SUDO docker tag -f "$DOCKERHUB_USER/scope:$VERSION" "$DOCKERHUB_USER/scope:latest_release" + $SUDO docker tag "$DOCKERHUB_USER/scope:$VERSION" "$DOCKERHUB_USER/scope:latest_release" $SUDO docker push "$DOCKERHUB_USER/scope:latest_release" echo "** Docker images tagged and pushed"