Skip to content

Remove old images

Remove old images #169

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:
contents: "read"
id-token: "write"
packages: "write"
steps:
- uses: actions/delete-package-versions@v5
with:
package-name: 'familie-ef-iverksett/familie-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