Skip to content

Commit

Permalink
bump clean-containers to v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
csc-felipe committed Aug 8, 2024
1 parent 6012bb0 commit 98aeb26
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/clean-containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@ jobs:
run: |
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Delete 'PR' containers older than a week
uses: snok/container-retention-policy@v2.2.1
uses: snok/container-retention-policy@v3.0.0
with:
image-names: ${{ env.REGISTRY }}/${{ env.REPO }}
filter-tags: sha-*,sha256:*
skip-tags: latest
cut-off: A week ago UTC
account-type: org
org-name: ${{ github.repository_owner }}
keep-at-least: 1
token: ${{ secrets.GH_REPO_TOKEN }}
image-names: ${{ env.REPO }}
image-tags: "sha-* sha256:* !latest"
cut-off: 1w
account: ${{ github.repository_owner }}
keep-n-most-recent: 1
token: ${{ secrets.GITHUB_TOKEN }}
timestamp-to-use: updated_at

0 comments on commit 98aeb26

Please sign in to comment.