Skip to content

Commit

Permalink
Fix generator docker release tags (prometheus#955)
Browse files Browse the repository at this point in the history
Add correct image tags to generator docker-publish CI steps.

Signed-off-by: SuperQ <[email protected]>
  • Loading branch information
SuperQ authored Aug 17, 2023
1 parent e2ca16c commit 6e6b457
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,13 @@ jobs:
make -C generator docker-tag-latest DOCKER_IMAGE_TAG="$CIRCLE_TAG"
make -C generator docker-tag-latest DOCKER_IMAGE_TAG="$CIRCLE_TAG" DOCKER_REPO=quay.io/prometheus
fi
- run: make -C generator docker-publish
- run: make -C generator docker-publish DOCKER_REPO=quay.io/prometheus
- run: make -C generator docker-publish DOCKER_IMAGE_TAG=$CIRCLE_TAG
- run: make -C generator docker-publish DOCKER_IMAGE_TAG=$CIRCLE_TAG DOCKER_REPO=quay.io/prometheus
- run: |
if [[ "$CIRCLE_TAG" =~ ^v[0-9]+(\.[0-9]+){2}$ ]]; then
make -C generator docker-publish DOCKER_IMAGE_TAG="latest"
make -C generator docker-publish DOCKER_IMAGE_TAG="latest" DOCKER_REPO=quay.io/prometheus
fi
mixin:
executor: golang
Expand Down

0 comments on commit 6e6b457

Please sign in to comment.