Skip to content

Cleanup old container images #11

Cleanup old container images

Cleanup old container images #11

Workflow file for this run

on:
schedule:
- cron: '50 12 * * 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'