Skip to content

Commit

Permalink
workflows: use GITHUP_TOKEN for registry cleanup
Browse files Browse the repository at this point in the history
The container-retention-policy v2 supports the GITHUP_TOKEN which is
recommended to use.

Signed-off-by: Daniel Wagner <[email protected]>
  • Loading branch information
igaw committed Sep 26, 2024
1 parent f9ecc2c commit e6a4551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
uses: snok/container-retention-policy@v2
id: retention
with:
image-names: linux-nvme*
image-names: *
cut-off: One week ago UTC
keep-at-least: 1
timestamp-to-use: updated_at
skip-tags: latest
account-type: personal
token: ${{ secrets.PAT }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Print Output
run: |-
Expand Down

0 comments on commit e6a4551

Please sign in to comment.