Allow cleanup step to fail
This commit is contained in:
parent
1b3fd62fbf
commit
13129c7061
1 changed files with 3 additions and 0 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue