From eff728eb4f69ca66f77008eaeb28e6b668a2c068 Mon Sep 17 00:00:00 2001 From: Michele Baldessari Date: Mon, 10 Aug 2026 07:59:30 +0200 Subject: [PATCH] Use vnd.docker.distribution.manifest.list.v2+json format when building manifests Just like we did for the patterns-operator here: https://github.com/validatedpatterns/patterns-operator/pull/781/ --- .github/workflows/docker-publish.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index e70c4c2..6cd9d44 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -46,7 +46,7 @@ jobs: TARGETARCH: ${{ matrix.targetarch }} run: | make "${TARGETARCH}" - buildah push "${CONTAINER}-${TARGETARCH}" "docker-archive:/tmp/image-${TARGETARCH}.tar:${CONTAINER}-${TARGETARCH}" + buildah push --format v2s2 "${CONTAINER}-${TARGETARCH}" "docker-archive:/tmp/image-${TARGETARCH}.tar:${CONTAINER}-${TARGETARCH}" - name: Upload image artifact uses: actions/upload-artifact@v7 diff --git a/Makefile b/Makefile index ae2f2c2..b8c4203 100644 --- a/Makefile +++ b/Makefile @@ -168,7 +168,7 @@ super-linter: ## Runs super linter locally .PHONY: upload upload: ## Uploads the container to quay.io/validatedpatterns/${CONTAINER} @echo "Uploading the ${REGISTRY}/${CONTAINER} container to ${UPLOADREGISTRY}/${CONTAINER}" - buildah manifest push --all "${REGISTRY}/${CONTAINER}" "docker://${UPLOADREGISTRY}/${CONTAINER}" + buildah manifest push --all --format v2s2 "${REGISTRY}/${CONTAINER}" "docker://${UPLOADREGISTRY}/${CONTAINER}" .PHONY: clean clean: ## Removes any previously built artifact