Skip to content

Prune containers

Prune containers #1

name: Prune containers
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * SUN" # every sunday at midnight
jobs:
clean:
runs-on: ubuntu-latest
name: Delete old images
steps:
- uses: snok/[email protected]
with:
account: pulibrary
image-names: figgy
token: ${{ secrets.GITHUB_TOKEN }}
image-tags: "!ci !main"
cut-off: 2w