Skip to content

Commit

Permalink
chore: image cleanup (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
mghilardelli authored Jul 31, 2024
1 parent cb223a1 commit 3573936
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main-image-cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Main Image Cleanup

on:
workflow_dispatch: {}
schedule:
- cron: '0 4 * * *'

permissions:
packages: write

jobs:
main-image:
runs-on: ubuntu-latest
steps:
- uses: actions/delete-package-versions@v5
with:
package-name: 'das/playground-backend'
package-type: 'container'
min-versions-to-keep: 3
delete-only-untagged-versions: 'true'
- uses: actions/delete-package-versions@v5
with:
package-name: 'das/webapp'
package-type: 'container'
min-versions-to-keep: 3
delete-only-untagged-versions: 'true'

0 comments on commit 3573936

Please sign in to comment.