From 6247a5e66211eac7d47a87e7008514ebaa996c4f Mon Sep 17 00:00:00 2001 From: MentalFS Date: Sun, 14 Jan 2024 22:27:00 +0100 Subject: [PATCH] Disable provenance in build to fix vlaurin/action-ghcr-prune#76 --- .github/workflows/docker.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b0f61c6..c58dcab 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -43,9 +43,10 @@ jobs: build-args: MOD=freshrss-extensions tags: ${{ env.REGISTRY }}/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}:freshrss-extensions labels: ${{ steps.meta.outputs.labels }} + provenance: false + push: ${{ github.ref == 'refs/heads/main' }} cache-from: type=gha cache-to: type=gha,mode=max - push: ${{ github.ref == 'refs/heads/main' }} freshrss-redditimage: @@ -80,9 +81,10 @@ jobs: build-args: MOD=freshrss-redditimage tags: ${{ env.REGISTRY }}/${{ env.IMAGE_AUTHOR }}/${{ env.IMAGE_NAME }}:freshrss-redditimage labels: ${{ steps.meta.outputs.labels }} + provenance: false + push: ${{ github.ref == 'refs/heads/main' }} cache-from: type=gha cache-to: type=gha,mode=max - push: ${{ github.ref == 'refs/heads/main' }} prune: @@ -97,5 +99,4 @@ jobs: user: ${{ env.IMAGE_AUTHOR }} container: ${{ env.IMAGE_NAME }} dry-run: false - keep-last: 4 prune-untagged: true