- Symptom
- ERROR: failed to solve: This legacy service is shutting down, effective April 15, 2025. Migrate to the new service ASAP.Only builds that use cache-to or cache-from type=gha fail
- Cause
- GitHub turned off the v1 Actions cache API. BuildKit's gha backend speaks the v2 API only from BuildKit 0.20 and Buildx 0.21, so pinned old builders, self-built binaries, and custom BuildKit images still call v1.
- Fix
- Unpin the Buildx and BuildKit versions in the workflow or raise them to at least Buildx 0.21.0 and BuildKit 0.20.0.
- Apply
docker buildx version # needs v0.21.0 or later docker buildx inspect --bootstrap | grep -i buildkit # needs v0.20.0 or later- Affected
- GitHub Actions cache service v1 shut down April 15, 2025; Buildx before 0.21.0 or BuildKit before 0.20.0
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders