Skip to content

Prune ghcr.io packages #104

Prune ghcr.io packages

Prune ghcr.io packages #104

Workflow file for this run

name: Prune ghcr.io packages
# Controls when the workflow will run
on:
schedule:
# Runs every Sunday at 4am PT.
- cron: '0 11 * * 0'
workflow_dispatch:
jobs:
prune:
runs-on: ubuntu-latest
steps:
- name: Prune per-commit container versions
# You may pin to the exact commit or the version.
uses: vlaurin/action-ghcr-prune@3c4f76ff904f206ace31dab45f37eb7c5a8e3d37
with:
token: ${{ secrets.GHCR_PRUNE_PAT }}
container: lakeroad
organization: uwsampl
dry-run: false
keep-last: 5
tag-regex: "sha-.*"
- name: Prune untagged container versions
# You may pin to the exact commit or the version.
uses: vlaurin/action-ghcr-prune@3c4f76ff904f206ace31dab45f37eb7c5a8e3d37
with:
token: ${{ secrets.GHCR_PRUNE_PAT }}
container: lakeroad
organization: uwsampl
dry-run: false
untagged: true