Skip to content

Delete packages

Delete packages #52

Workflow file for this run

name: Delete packages
on:
schedule:
# Every Monday morning
- cron: "00 03 * * 1"
jobs:
delete-packages:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Delete container images
uses: actions/delete-package-versions@v4
with:
package-name: sd-card-images
package-type: container
min-versions-to-keep: 5
delete-only-untagged-versions: true