Skip to content

ci(BA-7264): build and push the service images via a single bake run - #13710

Open
kyujin-cho wants to merge 1 commit into
feat/BA-7264/docker-base-imagefrom
ci/BA-7264/docker-images-bake
Open

ci(BA-7264): build and push the service images via a single bake run#13710
kyujin-cho wants to merge 1 commit into
feat/BA-7264/docker-base-imagefrom
ci/BA-7264/docker-images-bake

Conversation

@kyujin-cho

Copy link
Copy Markdown
Member

Summary

  • Rework .github/workflows/docker-images.yml: the per-image matrix becomes one docker/bake-action step (SHA-pinned v7.3.0, source: . so bake sees the downloaded wheels) running the docker-bake.hcl default group — the shared base builds once per platform instead of the dependency set building seven times under QEMU, and tags/attestations/cache config move into the bake file. The workflow_call interface is unchanged, so the ci.yml wiring (ci(BA-7269): wire docker-images workflow into the release chain #13701) needs no edits.
  • Add scripts/check-bake-targets.sh: the prepare job fails when the bake default group and the list-dockerfiles.sh --service publishing registry drift apart, preserving the fail-loud allowlist property across both files.
  • sbom.yml / osv-scanner.yml are unaffected (they consume --infra only, which never includes the base).

Merge order note: stacked on the backend.ai-base image PR — last PR of the BA-7264 chain; retarget to main after the base PR merges.

Part of the BA-7264 epic (#13582).

@kyujin-cho
kyujin-cho requested a review from a team as a code owner August 11, 2026 22:00
@github-actions github-actions Bot added the size:L 100~500 LoC label Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100~500 LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant