Skip to content

Commit

Permalink
add container cleanup dry-run
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbreen committed Sep 4, 2023
1 parent f1cd990 commit 4c52e32
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ jobs:
set: |
*.cache-from=type=gha
*.cache-to=type=gha,mode=max
- name: Prune Dangling Container Images
uses: snok/container-retention-policy@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
account-type: personal
image-names: nickbreen/bz-platforms2/executors/*
untagged-only: true
cut-off: 1 day ago UTC
dry-run: true

bazel:
name: Bazel Build & Test
Expand Down

0 comments on commit 4c52e32

Please sign in to comment.