Skip to content

Commit

Permalink
try another cleanup action
Browse files Browse the repository at this point in the history
  • Loading branch information
clowa committed Aug 21, 2024
1 parent 3b7fb4c commit 9d62482
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/image-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
# package: debian
# filters: "^nightly-\\d{2}-\\d{2}-\\d{4}$"
# keep_n: 5
- uses: "tweedegolf/cleanup-untagged-images-action@ff5f9dbad466487a9766f272602ad759cbfe6937"
- uses: snok/container-retention-policy@v3.0.0
with:
package: ${{ env.IMAGE_NAME }}
account: user
token: ${{ secrets.GITHUB_TOKEN }}
image-names: ${{ env.IMAGE_NAME }}
tag-selection: untagged
cut-off: 2w 3d
dry-run: true

0 comments on commit 9d62482

Please sign in to comment.