Skip to content

Commit

Permalink
Change Cron job to daily and use v* instead of release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensWe committed Jun 27, 2024
1 parent 3425e7d commit 650d794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ghcr-cleaner.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Github Container Registry Cleaner
on:
schedule:
- cron: "0 4 * * Sun"
- cron: "0 4 * * *"

jobs:
delete_old_images:
Expand All @@ -16,7 +16,7 @@ jobs:
uses: dataaxiom/ghcr-cleanup-action@v1
with:
keep-n-tagged: 10
exclude-tags: '*release*,*main*,*latest*'
exclude-tags: 'v*,*main*,*latest*'
token: ${{ secrets.GITHUB_TOKEN }}

- name: 'Clean up images from main'
Expand Down

0 comments on commit 650d794

Please sign in to comment.