From c5f289082f144677e86d50bb3edccc63df3dce4e Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Wed, 8 Apr 2026 10:26:30 +0100 Subject: [PATCH] Fix Docker CI by clearing scope/manifest GHA cache entries, not just blob entries (#3404) Fix clear-docker-cache to also delete scope/manifest GHA cache entries Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/bc1342e9-112e-492f-bf58-7e9e92a67e5e Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: admdly <2807620+admdly@users.noreply.github.com> --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccb4bbfe0..f5a8d0553 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -125,7 +125,8 @@ jobs: GH_TOKEN: ${{ github.token }} run: | gh api --paginate "/repos/${{ github.repository }}/actions/caches" \ - --jq '.actions_caches[] | select(.key | startswith("buildkit-ghcache")) | .id' \ + --jq --arg ref "${{ github.ref_name }}" \ + '.actions_caches[] | select(.key | startswith("buildkit-ghcache") or startswith($ref + "-linux/")) | .id' \ | xargs -r -I{} gh api -X DELETE "/repos/${{ github.repository }}/actions/caches/{}" \ || true