Skip to content

Commit

Permalink
Wed 25 Dec 2024 22:30:40 NZDT
Browse files Browse the repository at this point in the history
  • Loading branch information
YardQuit committed Dec 25, 2024
1 parent 0ff451d commit 0e7813a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
name: Cleanup
on:
schedule:
- cron: '05 7 * * *'
- cron: '05 11 * * *'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}

jobs:
delete-older-than-30:
delete-older-than-15:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Delete Images Older Than 30 Days
- name: Delete Images Older Than 15 Days
uses: dataaxiom/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
older-than: 30 days
older-than: 15 days
delete-orphaned-images: true
#keep-n-tagged: 7
#keep-n-untagged: 7
#dry-run: true

0 comments on commit 0e7813a

Please sign in to comment.