Skip to content

Commit

Permalink
Merge pull request #1551 from cortexproject/release-0.1
Browse files Browse the repository at this point in the history
Set IMAGE_TAG to CIRCLE_TAG in Makefile
  • Loading branch information
csmarchbanks authored Aug 1, 2019
2 parents 5907d38 + a4036a5 commit c4e7d8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ jobs:
name: Build
command: |
touch build-image/.uptodate
if [ -n "$CIRCLE_TAG" ]; then
export IMAGE_TAG=$CIRCLE_TAG
fi
make BUILD_IN_CONTAINER=false
- store_artifacts:
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# Boiler plate for bulding Docker containers.
# All this must go at top of file I'm afraid.
IMAGE_PREFIX ?= quay.io/cortexproject/
IMAGE_TAG ?= $(shell ./tools/image-tag)
# Use CIRCLE_TAG if present for releases.
IMAGE_TAG ?= $(if $(CIRCLE_TAG),$(CIRCLE_TAG),$(shell ./tools/image-tag))
GIT_REVISION := $(shell git rev-parse HEAD)
UPTODATE := .uptodate

Expand Down

0 comments on commit c4e7d8e

Please sign in to comment.