Skip to content

Commit

Permalink
ci: previous property is not working as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Dec 19, 2023
1 parent a3a3f3e commit f32fe09
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/container-prune.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,24 @@ jobs:
name: Prune Container Images
runs-on: ubuntu-latest
steps:
- uses: bots-house/[email protected]
with:
owner: spectrocloud
name: librarium
token: ${{ secrets.GITHUB_TOKEN }}
untagged-keep-latest: 1

# - uses: bots-house/[email protected]
# with:
# owner: spectrocloud
# name: librarium
# token: ${{ secrets.GITHUB_TOKEN }}
# untagged-keep-latest: 1

- uses: snok/container-retention-policy@v2
with:
image-names: librarium
cut-off: 1 day ago UTC
timestamp-to-use: created_at
account-type: org
org-name: spectrocloud
keep-at-least: 1
skip-tags: nightly
dry-run: true
token: ${{ secrets.GITHUB_TOKEN }}

# - name: Slack Notification
# if: ${{ failure() }}
Expand Down

0 comments on commit f32fe09

Please sign in to comment.