From df775b7f3d01ce62b80d586eb86bd18381afee78 Mon Sep 17 00:00:00 2001 From: Andrew Karpow Date: Mon, 17 Nov 2025 16:19:35 +0100 Subject: [PATCH] cleanup test --- .github/workflows/container-registry-ghcr.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/container-registry-ghcr.yaml b/.github/workflows/container-registry-ghcr.yaml index 01eff9f0..ea2e9124 100644 --- a/.github/workflows/container-registry-ghcr.yaml +++ b/.github/workflows/container-registry-ghcr.yaml @@ -54,3 +54,16 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} + cleanup-untagged-versions: + name: Cleanup untagged GHCR versions + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v5 + - name: Cleanup untagged GHCR versions + uses: actions/delete-package-versions@v5 + with: + min-versions-to-keep: "0" + package-name: ${{ github.event.repository.name }} + package-type: container + delete-only-untagged-versions: "true"