From 16710d044eeaf49d13e1570ca7397fbf5bb3716b Mon Sep 17 00:00:00 2001 From: Jared Watts Date: Tue, 16 Sep 2025 09:20:25 -0700 Subject: [PATCH] build: add img.promote target Signed-off-by: Jared Watts --- cluster/images/conformance/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cluster/images/conformance/Makefile b/cluster/images/conformance/Makefile index a1c2414..0437539 100755 --- a/cluster/images/conformance/Makefile +++ b/cluster/images/conformance/Makefile @@ -38,4 +38,9 @@ img.build.shared: @docker buildx build $(BUILD_ARGS) \ --platform linux/$(ARCH) \ -t $(IMAGE) \ - $(IMAGE_TEMP_DIR) || $(FAIL) \ No newline at end of file + $(IMAGE_TEMP_DIR) || $(FAIL) + +img.promote: + @$(INFO) docker promote $(FROM_IMAGE) to $(TO_IMAGE) + @docker buildx imagetools create -t $(TO_IMAGE) $(FROM_IMAGE) + @$(OK) docker promote $(FROM_IMAGE) to $(TO_IMAGE)