Skip to content

🧹 GHCR Cleanup

🧹 GHCR Cleanup #115

Workflow file for this run

name: 🧹 GHCR Cleanup
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * *'
permissions:
contents: read
packages: write
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: 🔍 Cleanup GHCR
uses: dataaxiom/ghcr-cleanup-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
packages: ${{ github.event.repository.name }}
delete-untagged: true
older-than: 30 days
delete-ghost-images: true
delete-partial-images: true
delete-orphaned-images: true
validate: true
log-level: info
dry-run: false