From 9a2132a45bc1dac6b71501166dcab56304b25e1a Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Thu, 14 Jul 2016 11:40:10 +0900 Subject: [PATCH] Revert "circle: tag pre-release docker images" This reverts commit 8c2320752e294c4f4659178200d49995804d36a0. --- circle.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/circle.yml b/circle.yml index ea05d485..a7f538e4 100644 --- a/circle.yml +++ b/circle.yml @@ -54,10 +54,8 @@ deployment: - docker login -e $QUAY_EMAIL -u $QUAY_LOGIN -p $QUAY_PASSWORD quay.io - | if [[ "$CIRCLE_TAG" =~ ^v[0-9]+(\.[0-9]+){2}$ ]]; then - docker tag "$DOCKER_IMAGE_NAME:latest" - docker tag "$QUAY_IMAGE_NAME:latest" + docker tag "$DOCKER_IMAGE_NAME:$CIRCLE_TAG" "$DOCKER_IMAGE_NAME:latest" + docker tag "$QUAY_IMAGE_NAME:$CIRCLE_TAG" "$QUAY_IMAGE_NAME:latest" fi - - docker tag "$DOCKER_IMAGE_NAME:$CIRCLE_TAG" - - docker tag "$QUAY_IMAGE_NAME:$CIRCLE_TAG" - docker push $DOCKER_IMAGE_NAME - docker push $QUAY_IMAGE_NAME