From b18094d1c4ecf8080f8c294f721a839e9b278c83 Mon Sep 17 00:00:00 2001 From: Varad Ahirwadkar Date: Sun, 8 Dec 2024 14:20:22 +0530 Subject: [PATCH] Adding latest tag for catalog index image Signed-off-by: Varad Ahirwadkar --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c293996..d2568da 100644 --- a/Makefile +++ b/Makefile @@ -310,10 +310,11 @@ catalog-build: opm ## Build a catalog image. echo "FROM quay.io/operator-framework/opm:$(OPM_VERSION)-ppc64le" >> $(TMP_DIR).Dockerfile cat catalog/Dockerfile_final_stage >> $(TMP_DIR).Dockerfile ## Building catalog image - $(CONTAINER_TOOL) build -f $(TMP_DIR).Dockerfile -t $(CATALOG_IMG) . - rm -rf $(TMP_DIR) + $(CONTAINER_TOOL) build -f $(TMP_DIR).Dockerfile -t $(CATALOG_IMG) -t $(IMAGE_TAG_BASE)-catalog:latest . + rm -rf $(TMP_DIR)* # Push the catalog image. .PHONY: catalog-push catalog-push: ## Push a catalog image. + $(MAKE) docker-push IMG=$(IMAGE_TAG_BASE)-catalog $(MAKE) docker-push IMG=$(CATALOG_IMG)