Skip to content

Cleanup Registry

Cleanup Registry #143

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@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0
with:
package-name: ${{ github.event.repository.name }}
package-type: container
delete-only-untagged-versions: true