forked from mystiq/dex
[Makefile] Allow specifying VERSION as an env var
This makes specifying the VERSION when building native operating system packages require less hacks. Refs: #811
This commit is contained in:
parent
af0d9cebd1
commit
4630f69f17
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ ORG_PATH=github.com/coreos
|
|||
REPO_PATH=$(ORG_PATH)/$(PROJ)
|
||||
export PATH := $(PWD)/bin:$(PATH)
|
||||
|
||||
VERSION=$(shell ./scripts/git-version)
|
||||
VERSION ?= $(shell ./scripts/git-version)
|
||||
|
||||
DOCKER_REPO=quay.io/coreos/dex
|
||||
DOCKER_IMAGE=$(DOCKER_REPO):$(VERSION)
|
||||
|
|
Loading…
Reference in a new issue