Add MQ build level to the container labels

* 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 Tom Jefferson
parent 7ec5133a56
commit 3800201a7d
4 changed files with 82 additions and 2 deletions

View File

@@ -140,10 +140,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