Repository navigation
ci: embed inline build cache in test images - #3535
TheTisiboth wants to merge 1 commit into
Conversation
BuildKit ignores cache_from images without inline cache metadata, so CI rebuilt the pulled test images from scratch on every run. Assisted-by: Claude Code:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Léo Jan <leo.jan@doctolib.com>
Test Results 12 files 600 suites 2m 0s ⏱️ Results for commit 0aa5d64. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
No actionable comments were generated in the recent review.
|
|
You are right: this is because we would need to first merge this pr, and then run the nightly workflow manually, and then we should see the improvement on the following prs 🙏 |

Closes #2721
Topic and Scope
CI rebuilds the pulled test images from scratch: BuildKit ignores
cache_fromimages without inline cache metadata. This addsBUILDKIT_INLINE_CACHE: 1to thedut,mysqlandpostgresbuilds, so the nightly images become reusable cache.Local test (nightly push → CI pull + build):
Concerns/issues
Gain shows only after the nightly image workflow runs on master (can be triggered manually).
Formal requirements
AI disclosure
I used AI for code generation