Skip to content

Commit 5907d38

Browse files
authored
Merge pull request #1550 from cortexproject/release-0.1
Make build job will use IMAGE_TAG if present
2 parents 42be8c4 + e17f0e4 commit 5907d38

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ jobs:
9595
name: Build
9696
command: |
9797
touch build-image/.uptodate
98+
if [ -n "$CIRCLE_TAG" ]; then
99+
export IMAGE_TAG=$CIRCLE_TAG
100+
fi
98101
make BUILD_IN_CONTAINER=false
99102
100103
- store_artifacts:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Boiler plate for bulding Docker containers.
55
# All this must go at top of file I'm afraid.
66
IMAGE_PREFIX ?= quay.io/cortexproject/
7-
IMAGE_TAG := $(shell ./tools/image-tag)
7+
IMAGE_TAG ?= $(shell ./tools/image-tag)
88
GIT_REVISION := $(shell git rev-parse HEAD)
99
UPTODATE := .uptodate
1010

0 commit comments

Comments
 (0)