Image tagging
Need to set image tag to be able to push to the registry Change-Id: I497af789e98648def9a1206ebc5d4489ebc59d9a
This commit is contained in:
parent
61b2843829
commit
523b1e4643
@ -80,6 +80,7 @@ build_isogen:
|
|||||||
ifeq ($(IMAGE_ID), none)
|
ifeq ($(IMAGE_ID), none)
|
||||||
ifeq ($(USE_PROXY), true)
|
ifeq ($(USE_PROXY), true)
|
||||||
docker build . --quiet \
|
docker build . --quiet \
|
||||||
|
--tag $(IMAGE) \
|
||||||
--label $(LABEL) \
|
--label $(LABEL) \
|
||||||
--label "org.opencontainers.image.revision=$(COMMIT)" \
|
--label "org.opencontainers.image.revision=$(COMMIT)" \
|
||||||
--label "org.opencontainers.image.created=\
|
--label "org.opencontainers.image.created=\
|
||||||
@ -94,6 +95,7 @@ ifeq ($(USE_PROXY), true)
|
|||||||
--build-arg GIT_COMMIT=$(COMMIT) > $(BUILD_DIR)/image_id
|
--build-arg GIT_COMMIT=$(COMMIT) > $(BUILD_DIR)/image_id
|
||||||
else
|
else
|
||||||
docker build . --quiet \
|
docker build . --quiet \
|
||||||
|
--tag $(IMAGE) \
|
||||||
--label $(LABEL) \
|
--label $(LABEL) \
|
||||||
--label "org.opencontainers.image.revision=$(COMMIT)" \
|
--label "org.opencontainers.image.revision=$(COMMIT)" \
|
||||||
--label "org.opencontainers.image.created=\
|
--label "org.opencontainers.image.created=\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user