From 6f3b8f6dd8e2b1cbb8e1b5b53ba211edbd669bb0 Mon Sep 17 00:00:00 2001 From: dd di cesare Date: Mon, 4 Nov 2024 13:58:39 +0100 Subject: [PATCH] [make] Building docker catalog with specific opm base image Signed-off-by: dd di cesare --- make/catalog.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make/catalog.mk b/make/catalog.mk index fe9e0ef4..28f028b5 100644 --- a/make/catalog.mk +++ b/make/catalog.mk @@ -2,9 +2,11 @@ # The image tag given to the resulting catalog image (e.g. make catalog-build CATALOG_IMG=example.com/operator-catalog:v0.2.0). CATALOG_IMG ?= $(IMAGE_TAG_BASE)-catalog:$(IMAGE_TAG) +OPM_VERSION =? 1.48.0 +CATALOG_ARCH ?= amd64 CATALOG_FILE = $(PROJECT_DIR)/catalog/authorino-operator-catalog/operator.yaml -CATALOG_DOCKERFILE = $(PROJECT_DIR)/catalog/authorino-operator-catalog.Dockerfile +CATALOG_DOCKERFILE = $(PROJECT_DIR)/catalog/authorino-operator-catalog.Dockerfile -i "quay.io/operator-framework/opm:v$(OPM_VERSION)-$(CATALOG_ARCH)" $(CATALOG_DOCKERFILE): $(OPM) -mkdir -p $(PROJECT_DIR)/catalog/authorino-operator-catalog