Skip to content

Commit

Permalink
update snok/container-retention-policy to v3 and enable dry-run for
Browse files Browse the repository at this point in the history
first test.
  • Loading branch information
jens-maus committed Jun 30, 2024
1 parent 5cfe81d commit 9e43225
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,15 +545,15 @@ jobs:
continue-on-error: true

- name: Remove old unused container images
uses: snok/container-retention-policy@v2.2.1
uses: snok/container-retention-policy@v3.0.0
with:
image-names: raspberrymatic
account: user
token: ${{ secrets.CR_PAT }}
cut-off: One month ago UTC
image-names: raspberrymatic
image-tags: *-???????

Check failure on line 554 in .github/workflows/snapshot.yml

View workflow job for this annotation

GitHub Actions / Linter Checks

found undeclared alias "-"

Check failure on line 554 in .github/workflows/snapshot.yml

View workflow job for this annotation

GitHub Actions / Linter Checks

syntax error: expected <block end>, but found '<scalar>'
tag-selection: tagged
keep-n-most-recent: 5
timestamp-to-use: created_at
keep-at-least: 5
account-type: personal
skip-tags: latest, snapshot
filter-tags: "*-???????"
token: ${{ secrets.CR_PAT }}
filter-include-untagged: false
dry-run: true
continue-on-error: true

0 comments on commit 9e43225

Please sign in to comment.