Allow cleanup step to fail

This commit is contained in:
BtbN 2023-03-18 15:12:08 +01:00
parent 1b3fd62fbf
commit 13129c7061

View file

@ -61,6 +61,7 @@ jobs:
cache-from: type=registry,ref=${{ steps.imagename.outputs.name }}:cache cache-from: type=registry,ref=${{ steps.imagename.outputs.name }}:cache
- name: Cleanup - name: Cleanup
if: ${{ env.HAVE_CLEANUP_PAT == 'true' }} if: ${{ env.HAVE_CLEANUP_PAT == 'true' }}
continue-on-error: true
uses: BtbN/delete-untagged-ghcr-action@main uses: BtbN/delete-untagged-ghcr-action@main
with: with:
token: ${{ secrets.CLEANUP_PAT }} token: ${{ secrets.CLEANUP_PAT }}
@ -110,6 +111,7 @@ jobs:
cache-from: type=registry,ref=${{ steps.imagename.outputs.name }}:cache cache-from: type=registry,ref=${{ steps.imagename.outputs.name }}:cache
- name: Cleanup - name: Cleanup
if: ${{ env.HAVE_CLEANUP_PAT == 'true' }} if: ${{ env.HAVE_CLEANUP_PAT == 'true' }}
continue-on-error: true
uses: BtbN/delete-untagged-ghcr-action@main uses: BtbN/delete-untagged-ghcr-action@main
with: with:
token: ${{ secrets.CLEANUP_PAT }} token: ${{ secrets.CLEANUP_PAT }}
@ -165,6 +167,7 @@ jobs:
GH_REPO=ghcr.io/${{ steps.imagename.outputs.gh_repo }} GH_REPO=ghcr.io/${{ steps.imagename.outputs.gh_repo }}
- name: Cleanup - name: Cleanup
if: ${{ env.HAVE_CLEANUP_PAT == 'true' }} if: ${{ env.HAVE_CLEANUP_PAT == 'true' }}
continue-on-error: true
uses: BtbN/delete-untagged-ghcr-action@main uses: BtbN/delete-untagged-ghcr-action@main
with: with:
token: ${{ secrets.CLEANUP_PAT }} token: ${{ secrets.CLEANUP_PAT }}