diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 7457ac3..9c1dd3a 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: persist-credentials: false @@ -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 @@ -75,7 +75,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: persist-credentials: false @@ -119,7 +119,7 @@ jobs: echo "digest=$DIGEST" >> "$GITHUB_OUTPUT" - name: Install cosign - uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0 + uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2 with: cosign-release: "v2.2.4" diff --git a/Makefile b/Makefile index 35baa7f..b773978 100644 --- a/Makefile +++ b/Makefile @@ -114,7 +114,7 @@ run: ## Runs the container interactively .PHONY: upload upload: ## Uploads the container to quay.io/hybridcloudpatterns/${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