Skip to content

Prune containers

Prune containers #5

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