Image tagging

Need to set image tag to be able to push to the registry

Change-Id: I497af789e98648def9a1206ebc5d4489ebc59d9a
This commit is contained in:
Stanislav Egorov 2020-03-09 16:05:20 -07:00
parent 61b2843829
commit 523b1e4643

View File

@ -80,6 +80,7 @@ build_isogen:
ifeq ($(IMAGE_ID), none)
ifeq ($(USE_PROXY), true)
docker build . --quiet \
--tag $(IMAGE) \
--label $(LABEL) \
--label "org.opencontainers.image.revision=$(COMMIT)" \
--label "org.opencontainers.image.created=\
@ -94,6 +95,7 @@ ifeq ($(USE_PROXY), true)
--build-arg GIT_COMMIT=$(COMMIT) > $(BUILD_DIR)/image_id
else
docker build . --quiet \
--tag $(IMAGE) \
--label $(LABEL) \
--label "org.opencontainers.image.revision=$(COMMIT)" \
--label "org.opencontainers.image.created=\