Skip to content

Commit

Permalink
Clean up registry (#19)
Browse files Browse the repository at this point in the history
Cleanup action
  • Loading branch information
camaeel authored Sep 20, 2023
1 parent d3cd417 commit 1555e9c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
schedule:
- cron: '50 11 * * 6'
push:
paths:
- '.github/workflows/cleanup.yml'

name: Cleanup old container images
jobs:
cleanup-old-container-images:
permissions:
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/delete-package-versions@v4
with:
package-name: ${{ github.event.repository.name }}
package-type: 'container'
min-versions-to-keep: 30
delete-only-untagged-versions: 'true'

0 comments on commit 1555e9c

Please sign in to comment.