Tag local images with branch name per default

This commit is contained in:
jalr 2019-08-15 22:49:04 +02:00
parent 0a6d9ee69e
commit 20202f12fa

View file

@ -2,7 +2,7 @@ PACKER_VERSION ?= 1.3.5
ANNOUNCE ?= http://10.2.2.1:6969/announce
WEBSEED ?= http://10.2.2.1
CI_COMMIT_REF_SLUG ?= master
CI_COMMIT_REF_SLUG ?= $(shell git name-rev --name-only HEAD)
DOCKER_IMAGE_BUILDER ?= labsync-builder:$(CI_COMMIT_REF_SLUG)
DOCKER_IMAGE_SECURITY_SCANNER ?= security-scanner:$(CI_COMMIT_REF_SLUG)