mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Fix git branch with slash as docker tag
This commit is contained in:
parent
bf0897bea5
commit
b2292aaa62
2
Makefile
2
Makefile
|
@ -18,7 +18,7 @@ pkgs = $(shell $(GO) list ./... | grep -v /vendor/)
|
||||||
PREFIX ?= $(shell pwd)
|
PREFIX ?= $(shell pwd)
|
||||||
BIN_DIR ?= $(shell pwd)
|
BIN_DIR ?= $(shell pwd)
|
||||||
DOCKER_IMAGE_NAME ?= prometheus
|
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
|
ifdef DEBUG
|
||||||
bindata_flags = -debug
|
bindata_flags = -debug
|
||||||
|
|
Loading…
Reference in a new issue