Skip to content

Prune Old Container Images #278

Prune Old Container Images

Prune Old Container Images #278

Workflow file for this run

name: Prune Old Container Images
on:
schedule:
- cron: '36 10 * * *'
push:
branches:
- latest
jobs:
prune-container-registry:
runs-on: ubuntu-latest
environment: prune
steps:
- name: Prune
uses: vlaurin/[email protected]
with:
token: ${{ secrets.THE_TOKEN }}
user: cmspam
container: incus-docker
dry-run: false # Dry-run first, then change to `false`
keep-younger-than: 0 # days
keep-last: 0
prune-untagged: true