From 523b1e4643ee30269f3d660484efc3e38bae01a7 Mon Sep 17 00:00:00 2001 From: Stanislav Egorov Date: Mon, 9 Mar 2020 16:05:20 -0700 Subject: [PATCH] Image tagging Need to set image tag to be able to push to the registry Change-Id: I497af789e98648def9a1206ebc5d4489ebc59d9a --- debian-isogen/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian-isogen/Makefile b/debian-isogen/Makefile index f4f3b18..a19e49a 100644 --- a/debian-isogen/Makefile +++ b/debian-isogen/Makefile @@ -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=\