Fix indent issue in circle.yml.

This commit is contained in:
Ben Kochie 2016-11-14 21:57:45 +01:00
parent baa4492903
commit c44964f302
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +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:$CIRCLE_TAG" "$DOCKER_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" docker tag "$QUAY_IMAGE_NAME:$CIRCLE_TAG" "$QUAY_IMAGE_NAME:latest"
fi fi
- docker push $DOCKER_IMAGE_NAME - docker push $DOCKER_IMAGE_NAME
- docker push $QUAY_IMAGE_NAME - docker push $QUAY_IMAGE_NAME