Skip to content

Prune Old Container Images #32

Prune Old Container Images

Prune Old Container Images #32

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/action-ghcr-prune@v0.6.0
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