Skip to content

Registry clean

Registry clean #377

name: Registry clean
on:
schedule:
- cron: "0 2 * * *"
workflow_dispatch:
jobs:
registry_clean:
name: Registry clean
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install doctl
uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- name: Run garbage collection
run: doctl registry garbage-collection start -f --include-untagged-manifests --no-header --format Status