Merge pull request #448 from rtzoeller/eager_tag

Eagerly evaluate TAG, to ensure it's consistent
This commit is contained in:
Matt McCormick 2020-11-10 12:39:20 -05:00 committed by GitHub
commit 0025970269
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ ifeq ("$(CIRCLECI)", "true")
endif endif
# Tag images with date and Git short hash in addition to revision # Tag images with date and Git short hash in addition to revision
TAG = $(shell date '+%Y%m%d')-$(shell git rev-parse --short HEAD) TAG := $(shell date '+%Y%m%d')-$(shell git rev-parse --short HEAD)
# #
# images: This target builds all IMAGES (because it is the first one, it is built by default) # images: This target builds all IMAGES (because it is the first one, it is built by default)