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 ($(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=\
|
||||
|
Loading…
Reference in New Issue
Block a user