mirror of
https://github.com/mailscope/kumomta.git
synced 2026-10-21 05:52:25 +00:00
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.
24 lines
521 B
YAML
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
|