Skip to content

Commit

Permalink
Dry-run pruning of old untagged images
Browse files Browse the repository at this point in the history
  • Loading branch information
rollbear committed Sep 23, 2024
1 parent a09ce13 commit 13fc579
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/prune-old-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
schedule:
- cron: "12 11 * * *"

jobs:
delete-old-untagged:
name: "Delete untagged containers older that 4 weeks"
runs-on: ubuntu-latest
steps:
- uses: snok/[email protected]
with:
account: rollbear
token: ${{ secrets.PAT }}
image-names: "gcc clang"
tag-selection: untagged
cut-off: 4w
dry-run: true

0 comments on commit 13fc579

Please sign in to comment.