Skip to content

Cleanup Registry

Cleanup Registry #111

name: Cleanup Registry
on:
schedule:
- cron: '0 0 * * 1' # https://crontab.guru/#0_0_*_*_1
workflow_dispatch:
jobs:
cleanup:
name: Cleanup
runs-on: ubuntu-latest
steps:
- name: Delete untagged images
uses: actions/delete-package-versions@0d39a63126868f5eefaa47169615edd3c0f61e20 # v4.1.1
with:
package-name: ${{ github.event.repository.name }}
package-type: container
delete-only-untagged-versions: true