From c698fe78779380ae205633e86694b41c52ad2673 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Wed, 28 Aug 2024 19:26:49 +0100 Subject: [PATCH] Don't push attestation of Docker images to the registry Generates additional entries in the list of image versions, some are labelled making it impossible for actions/delete-package-version in its current state to automatically remove them. https://github.com/actions/attest-build-provenance/issues/71#issuecomment-2108140285 --- .github/workflows/publish-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index 4a35116b..abfd39c3 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -52,7 +52,7 @@ jobs: with: subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} subject-digest: ${{ steps.push.outputs.digest }} - push-to-registry: true + push-to-registry: false - name: Delete oldest Docker images uses: actions/delete-package-versions@v5