From 0e7813af49f4f95c452f9058083b643565e8e668 Mon Sep 17 00:00:00 2001 From: Michael Jones Date: Wed, 25 Dec 2024 10:30:39 +0100 Subject: [PATCH] Wed 25 Dec 2024 22:30:40 NZDT --- .github/workflows/cleanup.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index 557de87..8ecacf8 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -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/ghcr-cleanup-action@v1.0.14 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 -