Files
kumomta/.github/workflows/delete-old-packages.yml
T
Wez Furlong 1d4bfa7dda ci: partial revert of prior commit
somehow kumomta-dev isn't seen as a valid package name, even
though it definitely is!

Let's back out most of the previous commit, and defer worrying
about this until something complains about having too many
package versions.
2024-06-07 10:21:06 -07:00

24 lines
521 B
YAML

name: "Delete Old Packages"
on:
schedule:
- cron: "50 1 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
delete-old-docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Prune kumomta
uses: actions/delete-package-versions@v5
with:
package-name: kumomta
min-versions-to-keep: 5
delete-only-untagged-versions: true
package-type: container