Skip to content

Commit

Permalink
[make] Templating catalog dockerfile for ARCH
Browse files Browse the repository at this point in the history
Signed-off-by: dd di cesare <[email protected]>
  • Loading branch information
didierofrivia committed Nov 6, 2024
1 parent de88e78 commit 03be16c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion make/catalog.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 03be16c

Please sign in to comment.