Skip to content

Cleanup

Cleanup #92

Workflow file for this run

name: Cleanup
on:
workflow_dispatch:
schedule:
- cron: "0 1 * * 0"
env:
registry: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
Cleanup:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Prune
uses: vlaurin/action-ghcr-prune@0a539594d122b915e71c59733a5b115bfaaf5d52 # v0.5.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
dry-run: true
keep-younger-than: 7
keep-last: 2
prune-untagged: true