Skip to content

Commit

Permalink
upgrade snok action version in ghcr-actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Parisa68 committed Jul 4, 2024
1 parent 677973b commit e460c3a
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/ghcr-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,18 @@ jobs:
uses: snok/[email protected]
with:
image-names: sda-doa
filter-tags: PR*, sha-*
cut-off: A week ago UTC
account-type: org
org-name: ${{ github.repository_owner }}
image-tags: "PR* sha-* !latest"
cut-off: 1w
account: ${{ github.repository_owner }}
keep-at-least: 1
token: ${{ secrets.GHRC_CNTNR_CLNUP }}

- name: Delete all containers older than treee months, using a wildcard
- name: Delete all containers older than three months, using a wildcard
uses: snok/[email protected]
with:
image-names: sda-doa
filter-tags: v*
cut-off: Three months ago UTC
account-type: org
org-name: ${{ github.repository_owner }}
image-tags: "v* !latest"
cut-off: 3months
account: ${{ github.repository_owner }}
keep-at-least: 2
skip-tags: latest
token: ${{ secrets.GHRC_CNTNR_CLNUP }}

0 comments on commit e460c3a

Please sign in to comment.