Skip to content

ghcr-retention

ghcr-retention #7

Workflow file for this run

name: ghcr-retention
on:
workflow_dispatch:
schedule:
- cron: "0 12 * * 0"
permissions:
contents: read
packages: write
jobs:
clean:
runs-on: ubuntu-latest
name: Github Container Registry Retention Policy
steps:
- name: Clean up untagged Autoware images
uses: snok/[email protected]
with:
account: bounverif
token: ${{ secrets.GITHUB_TOKEN }}
image-names: "labs344"
tag-selection: untagged
cut-off: 1h
dry-run: false