Skip to content

Scruffy

Scruffy #36

name: Scruffy
on:
workflow_dispatch:
schedule:
# Run the GC every Monday at 9am
- cron: "0 9 * * 1"
permissions: read-all
jobs:
scruffy:
if: github.repository_owner == 'cilium'
name: scruffy
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: Garbage Collect Images
uses: docker://quay.io/cilium/scruffy:v0.0.3@sha256:ca997451b739cbf03c204cb2523a671c31c61edc606aa5d20dc3560bc7f25bc7
with:
entrypoint: scruffy
args: --git-repository=./ --stable-branches=origin/main,origin/v1.12,origin/v1.13,origin/v1.14,origin/v1.15,origin/v1.16
env:
QUAY_TOKEN: ${{ secrets.SCRUFFY_QUAY_TOKEN }}