Skip to content

Commit bd5d491

Browse files
committed
Don't fail container image build when ghcr.io cleanup fails
1 parent 0726ecf commit bd5d491

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/container-image.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,10 @@ jobs:
237237
# deletes PR tags after the PR is closed we should be able to keep the
238238
# container image registry size in check.
239239
uses: dataaxiom/ghcr-cleanup-action@v1
240+
# Don't fail the job on errors in this step. The action can fail if
241+
# multiple PR jobs are running in parallel and try to delete the same
242+
# stale layers & images.
243+
continue-on-error: true
240244
with:
241245
token: ${{ secrets.GITHUB_TOKEN }}
242246
package: ${{ github.event.repository.name }}

0 commit comments

Comments
 (0)