mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-27 08:32:15 +00:00
circle: tag pre-release docker images
This commit is contained in:
parent
50aac965ba
commit
8c2320752e
@ -54,8 +54,10 @@ 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:$CIRCLE_TAG" "$DOCKER_IMAGE_NAME:latest"
|
||||
docker tag "$QUAY_IMAGE_NAME:$CIRCLE_TAG" "$QUAY_IMAGE_NAME:latest"
|
||||
docker tag "$DOCKER_IMAGE_NAME:latest"
|
||||
docker 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
|
||||
|
Loading…
Reference in New Issue
Block a user