From 13129c7061a4b8105feda0fb1df760cbfceb887b Mon Sep 17 00:00:00 2001 From: BtbN Date: Sat, 18 Mar 2023 15:12:08 +0100 Subject: [PATCH] Allow cleanup step to fail --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d929bf4..d750bce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,6 +61,7 @@ jobs: cache-from: type=registry,ref=${{ steps.imagename.outputs.name }}:cache - name: Cleanup if: ${{ env.HAVE_CLEANUP_PAT == 'true' }} + continue-on-error: true uses: BtbN/delete-untagged-ghcr-action@main with: token: ${{ secrets.CLEANUP_PAT }} @@ -110,6 +111,7 @@ jobs: cache-from: type=registry,ref=${{ steps.imagename.outputs.name }}:cache - name: Cleanup if: ${{ env.HAVE_CLEANUP_PAT == 'true' }} + continue-on-error: true uses: BtbN/delete-untagged-ghcr-action@main with: token: ${{ secrets.CLEANUP_PAT }} @@ -165,6 +167,7 @@ jobs: GH_REPO=ghcr.io/${{ steps.imagename.outputs.gh_repo }} - name: Cleanup if: ${{ env.HAVE_CLEANUP_PAT == 'true' }} + continue-on-error: true uses: BtbN/delete-untagged-ghcr-action@main with: token: ${{ secrets.CLEANUP_PAT }}