We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5907d38 commit a4036a5Copy full SHA for a4036a5
.circleci/config.yml
@@ -95,9 +95,6 @@ jobs:
95
name: Build
96
command: |
97
touch build-image/.uptodate
98
- if [ -n "$CIRCLE_TAG" ]; then
99
- export IMAGE_TAG=$CIRCLE_TAG
100
- fi
101
make BUILD_IN_CONTAINER=false
102
103
- store_artifacts:
Makefile
@@ -4,7 +4,8 @@
4
# Boiler plate for bulding Docker containers.
5
# All this must go at top of file I'm afraid.
6
IMAGE_PREFIX ?= quay.io/cortexproject/
7
-IMAGE_TAG ?= $(shell ./tools/image-tag)
+# Use CIRCLE_TAG if present for releases.
8
+IMAGE_TAG ?= $(if $(CIRCLE_TAG),$(CIRCLE_TAG),$(shell ./tools/image-tag))
9
GIT_REVISION := $(shell git rev-parse HEAD)
10
UPTODATE := .uptodate
11
0 commit comments