From 460497b850f7c776a08278ac042ac23da91a2f6f Mon Sep 17 00:00:00 2001 From: Tucker Kern Date: Mon, 5 Aug 2024 16:42:22 -0600 Subject: [PATCH] Use ghcr-cleanup-action to prune untagged images (#141) * Use ghcr-cleanup-action to prune untagged images --- .github/workflows/prune-ghcr.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/prune-ghcr.yml b/.github/workflows/prune-ghcr.yml index 9759d40..2c0af65 100644 --- a/.github/workflows/prune-ghcr.yml +++ b/.github/workflows/prune-ghcr.yml @@ -44,3 +44,10 @@ jobs: edge latest # dry-run: true + + - uses: dataaxiom/ghcr-cleanup-action@v1 + with: + package: ${{ env.CONTAINER_NAME }} + token: ${{ secrets.GITHUB_TOKEN }} + # dry-run: true + validate: true