We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 521d68f commit ed3d4dbCopy full SHA for ed3d4db
.github/workflows/image-retention-policy.yml
@@ -8,17 +8,12 @@ jobs:
8
clean-ghcr:
9
runs-on: ubuntu-latest
10
steps:
11
- - uses: tibdex/github-app-token@v2
12
- id: generate-token
13
- with:
14
- app_id: ${{ secrets.CATHY_CLOUD_APP_ID }}
15
- private_key: ${{ secrets.CATHY_CLOUD_APP_PRIVATE_KEY }}
16
-
17
- name: Delete old images
18
- uses: snok/container-retention-policy@main
+ uses: snok/container-retention-policy@v2
19
with:
20
account-type: personal
21
- token: ${{ steps.generate-token.outputs.token }}
+ token-type: github-token
+ token: ${{ github.token }}
22
image-names: ${{ github.event.repository.name }}
23
cut-off: one month ago EST
24
untagged-only: true
0 commit comments