Skip to content

.github/workflows/docker-cleanup.yml #12283

.github/workflows/docker-cleanup.yml

.github/workflows/docker-cleanup.yml #12283

on:
workflow_dispatch:
schedule:
- cron: "5 * * * *" # every hour
jobs:
clean:
runs-on: ubuntu-latest
name: Delete old test images
steps:
- name: Cleanup registry
uses: dataaxiom/ghcr-cleanup-action@v1
with:
dry-run: false
delete-tags: "*"
delete-untagged: true
exclude-tags: main,next,v*
token: ${{ secrets.GITHUB_TOKEN }}