Skip to content

Retention Policy

Retention Policy #14

name: Retention Policy
on:
workflow_dispatch: # And manually on button click
schedule:
# every day at 00:05 UTC
- cron: '5 0 * * *'
jobs:
setup:
name: Setup
uses: tiacsys/github-workflows/.github/workflows/docker-retention.yml@main
with:
older-than: 2 weeks
exclude-tags: "^\\d+\\.\\d+\\.\\d+$|^latest$|^main$|^nightly$"
secrets: inherit # pass all secrets