Skip to content

Container image retention #6

Container image retention

Container image retention #6

name: Container image retention
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
delete-package-versions:
name: Delete package versions older than 4 weeks
runs-on: ubuntu-latest
steps:
- uses: snok/container-retention-policy@v3.0.0
with:
account: tenstorrent
token: ${{ secrets.GH_TOKEN }}
image-names: "tt-forge*ci* tt-forge*ird*"
cut-off: 4w
keep-n-most-recent: 5
dry-run: false