From 1bb5828ecb301193947a1c1ff795e83800c34792 Mon Sep 17 00:00:00 2001 From: Simon Pasquier Date: Thu, 23 May 2019 10:14:14 +0200 Subject: [PATCH] Fix CircleCI job to publish container images (#478) Signed-off-by: Simon Pasquier --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 723d64a..374b70e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -88,9 +88,11 @@ jobs: if [[ "$CIRCLE_TAG" =~ ^v[0-9]+(\.[0-9]+){2}$ ]]; then make docker-tag-latest DOCKER_IMAGE_TAG="$CIRCLE_TAG" make docker-tag-latest DOCKER_IMAGE_TAG="$CIRCLE_TAG" DOCKER_REPO=quay.io/prometheus + make docker-publish DOCKER_IMAGE_TAG="latest" + make docker-publish DOCKER_IMAGE_TAG="latest" DOCKER_REPO=quay.io/prometheus fi - - run: make docker-publish - - run: make docker-publish DOCKER_REPO=quay.io/prometheus + - run: make docker-publish DOCKER_IMAGE_TAG="$CIRCLE_TAG" + - run: make docker-publish DOCKER_REPO=quay.io/prometheus DOCKER_IMAGE_TAG="$CIRCLE_TAG" workflows: version: 2 -- 2.25.1