From f044c13d9cce01315df49581cab49e38f687efff Mon Sep 17 00:00:00 2001 From: dd di cesare Date: Wed, 6 Nov 2024 17:57:09 +0100 Subject: [PATCH] [make] Templating catalog dockerfile for ARCH Signed-off-by: dd di cesare --- make/catalog.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make/catalog.mk b/make/catalog.mk index fe9e0ef4..91c7e530 100644 --- a/make/catalog.mk +++ b/make/catalog.mk @@ -8,7 +8,8 @@ CATALOG_DOCKERFILE = $(PROJECT_DIR)/catalog/authorino-operator-catalog.Dockerfil $(CATALOG_DOCKERFILE): $(OPM) -mkdir -p $(PROJECT_DIR)/catalog/authorino-operator-catalog - cd $(PROJECT_DIR)/catalog && $(OPM) generate dockerfile authorino-operator-catalog + cd $(PROJECT_DIR)/catalog && $(OPM) generate dockerfile authorino-operator-catalog -b "quay.io/operator-framework/opm:v${OPM_VERSION}-$'\$${arch}" -i "quay.io/operator-framework/opm:v${OPM_VERSION}-$'\$${arch}" && sed -i '1s/^/ARG arch\n/' authorino-operator-catalog.Dockerfile + catalog-dockerfile: $(CATALOG_DOCKERFILE) ## Generate catalog dockerfile. $(CATALOG_FILE): $(OPM) $(YQ)