Skip to content

Commit

Permalink
Remove old images (#933)
Browse files Browse the repository at this point in the history
  • Loading branch information
olekvernberg authored May 29, 2024
1 parent 8a941cb commit b9cba70
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/removeOldImages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Remove old images'
on:
workflow_dispatch:
schedule:
- cron: '0 2-5 * * *'

jobs:
remove-images:
name: 'Remove old images job'
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/delete-package-versions@v5
with:
package-name: 'familie-ef-iverksett/familie-ef-iverksett'
package-type: 'container'
min-versions-to-keep: 1
- uses: actions/delete-package-versions@v5
with:
package-name: 'familie-ef-iverksett'
package-type: 'container'
min-versions-to-keep: 1

0 comments on commit b9cba70

Please sign in to comment.