mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 06:17:35 +08:00
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:
@@ -130,8 +130,8 @@ jobs:
|
|||||||
load: false
|
load: false
|
||||||
push: ${{ startsWith(github.ref, 'refs/tags/') || (github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_to_registry) }}
|
push: ${{ startsWith(github.ref, 'refs/tags/') || (github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_to_registry) }}
|
||||||
provenance: false
|
provenance: false
|
||||||
cache-from: type=gha,version=1
|
cache-from: type=gha
|
||||||
cache-to: type=gha,version=1,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
name: Deploy To Registry
|
name: Deploy To Registry
|
||||||
|
|||||||
Reference in New Issue
Block a user