Skip to content

Commit 26747e9

Browse files
committed
bump clean-containers to v3.0.0
1 parent b230fda commit 26747e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/clean-containers.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
run: |
2121
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
2222
- name: Delete 'PR' containers older than a week
23-
uses: snok/container-retention-policy@v2.2.1
23+
uses: snok/container-retention-policy@v3.0.0
2424
with:
2525
image-names: ${{ env.REGISTRY }}/${{ env.REPO }}
2626
filter-tags: sha-*,sha256:*
27+
skip-tags: latest
2728
cut-off: A week ago UTC
28-
account-type: org
29-
org-name: ${{ github.repository_owner }}
29+
account: ${{ github.repository_owner }}
3030
keep-at-least: 1
31-
token: ${{ secrets.GH_REPO_TOKEN }}
31+
token: ${{ secrets.GITHUB_TOKEN }}
3232
timestamp-to-use: updated_at

0 commit comments

Comments
 (0)