From 691fdffa8b07c477f5ddd614081f36a6f6287dec Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Fri, 17 Oct 2025 20:33:16 +0200 Subject: [PATCH] Changes auto-committed by Conductor (#6916) --- .github/workflows/cleanup-ghcr-untagged.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cleanup-ghcr-untagged.yml b/.github/workflows/cleanup-ghcr-untagged.yml index 1ad41ce16..394fba68f 100644 --- a/.github/workflows/cleanup-ghcr-untagged.yml +++ b/.github/workflows/cleanup-ghcr-untagged.yml @@ -1,24 +1,25 @@ name: Cleanup Untagged GHCR Images on: - workflow_dispatch: # Allow manual trigger - schedule: - - cron: '0 */6 * * *' # Run every 6 hours to handle large volume (16k+ images) + workflow_dispatch: # Manual trigger only env: GITHUB_REGISTRY: ghcr.io jobs: - cleanup-testing-host: + cleanup-all-packages: runs-on: ubuntu-latest permissions: contents: read packages: write + strategy: + matrix: + package: ['coolify', 'coolify-helper', 'coolify-realtime', 'coolify-testing-host'] steps: - - name: Delete untagged coolify-testing-host images + - name: Delete untagged ${{ matrix.package }} images uses: actions/delete-package-versions@v5 with: - package-name: 'coolify-testing-host' + package-name: ${{ matrix.package }} package-type: 'container' min-versions-to-keep: 0 delete-only-untagged-versions: 'true'