fix(ci): remove deprecated v1 cache API from container build

Backport of #26742 to release/1.17.

RunsOn v2.12.0 (March 6, 2026) removed v1 cache toolkit support,
causing the buildx GHA cache proxy to return 404 for v1 endpoints.
This broke the v1.17.0-rc2 container build.

Removing the explicit version=1 parameter lets buildkit auto-detect
the v2 protocol.

Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
Ramon Roche 2026-03-13 14:00:33 -07:00
parent 0b6e4687de
commit 39b0568ea4

View File

@ -130,8 +130,8 @@ jobs:
load: false
push: ${{ startsWith(github.ref, 'refs/tags/') || (github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_to_registry) }}
provenance: false
cache-from: type=gha,version=1
cache-to: type=gha,version=1,mode=max
cache-from: type=gha
cache-to: type=gha,mode=max
deploy:
name: Deploy To Registry