Merge pull request #1577 from sdurrheimer/fix-git-branch-with-slash-as-docker-tag

Fix git branch with slash as docker tag
This commit is contained in:
Fabian Reinartz 2016-04-23 15:14:46 +02:00
commit 9003ee441b
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ pkgs = $(shell $(GO) list ./... | grep -v /vendor/)
PREFIX ?= $(shell pwd)
BIN_DIR ?= $(shell pwd)
DOCKER_IMAGE_NAME ?= prometheus
DOCKER_IMAGE_TAG ?= $(shell git rev-parse --abbrev-ref HEAD)
DOCKER_IMAGE_TAG ?= $(subst /,-,$(shell git rev-parse --abbrev-ref HEAD))
ifdef DEBUG
bindata_flags = -debug