Revert "circle: tag pre-release docker images"

This reverts commit 8c2320752e.
This commit is contained in:
Fabian Reinartz 2016-07-14 11:40:10 +09:00
parent 8c2320752e
commit 9a2132a45b
1 changed files with 2 additions and 4 deletions

View File

@ -54,10 +54,8 @@ deployment:
- docker login -e $QUAY_EMAIL -u $QUAY_LOGIN -p $QUAY_PASSWORD quay.io - docker login -e $QUAY_EMAIL -u $QUAY_LOGIN -p $QUAY_PASSWORD quay.io
- | - |
if [[ "$CIRCLE_TAG" =~ ^v[0-9]+(\.[0-9]+){2}$ ]]; then if [[ "$CIRCLE_TAG" =~ ^v[0-9]+(\.[0-9]+){2}$ ]]; then
docker tag "$DOCKER_IMAGE_NAME:latest" docker tag "$DOCKER_IMAGE_NAME:$CIRCLE_TAG" "$DOCKER_IMAGE_NAME:latest"
docker tag "$QUAY_IMAGE_NAME:latest" docker tag "$QUAY_IMAGE_NAME:$CIRCLE_TAG" "$QUAY_IMAGE_NAME:latest"
fi fi
- docker tag "$DOCKER_IMAGE_NAME:$CIRCLE_TAG"
- docker tag "$QUAY_IMAGE_NAME:$CIRCLE_TAG"
- docker push $DOCKER_IMAGE_NAME - docker push $DOCKER_IMAGE_NAME
- docker push $QUAY_IMAGE_NAME - docker push $QUAY_IMAGE_NAME