diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 295063c9..0ede5875 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -111,8 +111,13 @@ jobs: - name: Delete untagged images uses: vlaurin/action-ghcr-prune@v0.6.0 with: - token: ${{ secrets.GITHUB_TOKEN }} + # Use a PAT if GITHUB_TOKEN continues to return "Not Found" + token: ${{ secrets.GITHUB_TOKEN }} + # Ensure this matches the package owner (user or org) organization: ${{ github.repository_owner }} container: ik-llama-cpp - keep-younger-than: 0 - untagged-only: true \ No newline at end of file + # Changed from untagged-only to the valid input + untagged: true + # Optional: Keep the most recent untagged if needed, + # otherwise 0 deletes all untagged. + keep-last: 0 \ No newline at end of file