From f11e2106afcd44a3bd1577e540b05c3510066a10 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Fri, 13 Mar 2026 13:19:02 -0700 Subject: [PATCH] fix(ci): remove deprecated v1 cache API from container build 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 has broken container builds on main since March 12. Removing the explicit version=1 parameter lets buildkit auto-detect the v2 protocol, which is the only version now supported by both GitHub (since April 2025) and RunsOn. First build after this change will have a cold cache. Signed-off-by: Ramon Roche --- .github/workflows/dev_container.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev_container.yml b/.github/workflows/dev_container.yml index 8922d636cd..436b339d2c 100644 --- a/.github/workflows/dev_container.yml +++ b/.github/workflows/dev_container.yml @@ -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,scope=${{ matrix.arch }} - cache-to: type=gha,version=1,mode=max,scope=${{ matrix.arch }} + cache-from: type=gha,scope=${{ matrix.arch }} + cache-to: type=gha,mode=max,scope=${{ matrix.arch }} deploy: name: Deploy To Registry