Skip to content

Cleanup Images

Cleanup Images #102

Workflow file for this run

name: Cleanup Images
on:
workflow_run:
workflows: ["Build & Push Image"]
types:
- completed
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
update:
uses: codeshelldev/gh-actions/.github/workflows/image-cleanup.yml@main
name: Images
with:
registry: ghcr.io
cleanup-stales: '^(?:pr-\d+-\d+|ci-[A-Za-z0-9._-]+-\d+|[A-Za-z0-9._-]+-dev\d)$'
stale-threshold: 15 days
secrets:
GH_PCKG_TOKEN: ${{ secrets.GH_PCKG_TOKEN }}