diff --git a/.github/workflows/build-images.yaml b/.github/workflows/build-images.yaml index f163429..c537da0 100644 --- a/.github/workflows/build-images.yaml +++ b/.github/workflows/build-images.yaml @@ -90,7 +90,7 @@ jobs: with: image: ${{ env.OPERATOR_NAME }}-catalog tags: ${{ env.IMG_TAGS }} - archs: amd64,arm64,s390x,ppc64le + platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le context: ./catalog dockerfiles: | ./catalog/${{ env.OPERATOR_NAME }}-catalog.Dockerfile diff --git a/make/catalog.mk b/make/catalog.mk index 91c7e53..04bfc3e 100644 --- a/make/catalog.mk +++ b/make/catalog.mk @@ -8,7 +8,7 @@ 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 -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 + cd $(PROJECT_DIR)/catalog && $(OPM) generate dockerfile authorino-operator-catalog -b "quay.io/operator-framework/opm:latest" -i "quay.io/operator-framework/opm:latest" catalog-dockerfile: $(CATALOG_DOCKERFILE) ## Generate catalog dockerfile.