acoustic-carpenter-78188
06/26/2026, 7:18 PMflyteconsole-v2 by skopeo-pulling the moving tag ghcr.io/unionai-oss/flyteconsole-v2:latest in the Dockerfile preload stage (docker/devbox-bundled/images/manifest.txt). Buildkit/Depot cache that layer keyed on the stage's instructions + copied files (manifest.txt, preload) — none of which change when upstream :latest advances — so CI keeps baking yesterday's console into the bundled image.
(The deployment pins the result as flyteconsole-v2:sandbox with imagePullPolicy: Never, so k3s never reaches out for a newer one at runtime either — the image must be fresh at build time.)
What changes were proposed in this pull request?
• `docker/devbox-bundled/Dockerfile`: add ARG CACHEBUST=0 immediately before RUN ./preload manifest.txt. Changing the arg invalidates the layer so the moving tags get re-pulled. Default 0 keeps local make build behavior unchanged.
• `.github/workflows/flyte-binary-v2.yml`: both CPU build steps pass CACHEBUST=${{ github.run_id }}-${{ github.run_attempt }} (unique per run → fresh console pull every build). Same value in both steps so the push step reuses the save step's freshly-built layer — one pull per run, not two. The GPU build inherits via its CPU base image.
Labels
• fixed
How was this patch tested?
Not unit-testable (CI build-cache behavior). Verified by reasoning about buildkit layer-cache keying: the preload RUN was previously cache-stable across runs; introducing a per-run ARG consumed before it forces re-execution, and skopeo then re-resolves the :latest tags. Local builds omit the arg and keep the cached fast path.
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
flyteorg/flyteacoustic-carpenter-78188
06/26/2026, 7:58 PM