From cdd5d9d7e5fa334862d250f47a26a8f8ec4db1cd Mon Sep 17 00:00:00 2001 From: Benjamin Harder Date: Sun, 11 Aug 2024 20:24:18 +0200 Subject: [PATCH] Test of orphan git images (old dev-containers) --- .github/workflows/dev.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index bb52dd9..0e9a0a0 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -74,10 +74,13 @@ jobs: --build-arg SHORT_COMMIT_ID=$SHORT_COMMIT_ID \ --push \ - # - name: "Clean up docker images" - # uses: dataaxiom/ghcr-cleanup-action@main - # with: - # keep-n-tagged: 10 - # exclude-tags: dev - # dry-run: true - # token: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file + - name: "Clean up docker images" + uses: dataaxiom/ghcr-cleanup-action@main + with: + dry-run: true + keep-n-tagged: 10 + exclude-tags: dev + delete-untagged: true + delete-ghost-images: true + delete-partial-images: true + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file