Add MQ build level to the container labels (#195)

* Changes to add MQ build level to the container labels

* Add jq as a dependency
This commit is contained in:
Tom Jefferson
2022-01-13 10:59:02 +00:00
committed by GitHub Enterprise
parent 2f103128f3
commit eff6ded259
4 changed files with 74 additions and 2 deletions

View File

@@ -138,10 +138,16 @@ endif
# image tagging
ifneq "$(RELEASE)" "$(EMPTY)"
EXTRA_LABELS=--label release=$(RELEASE)
EXTRA_LABELS_RELEASE=--label "release=$(RELEASE)"
RELEASE_TAG="-$(RELEASE)"
endif
ifneq "$(MQ_ARCHIVE_LEVEL)" "$(EMPTY)"
EXTRA_LABELS_LEVEL=--label "mq-build=$(MQ_ARCHIVE_LEVEL)"
endif
EXTRA_LABELS=$(EXTRA_LABELS_RELEASE) $(EXTRA_LABELS_LEVEL)
ifeq "$(TIMESTAMPFLAT)" "$(EMPTY)"
TIMESTAMPFLAT=$(shell date "+%Y%m%d%H%M%S")
endif