Skip to content

chore: bakefile support for docker build#105

Merged
gersmann merged 10 commits intomainfrom
chore/bake-build-support/sg
Apr 28, 2026
Merged

chore: bakefile support for docker build#105
gersmann merged 10 commits intomainfrom
chore/bake-build-support/sg

Conversation

@gersmann
Copy link
Copy Markdown
Contributor

Adds bakefile support like we had in PAPI to the CI flows.

In order to build multiple targets again, like we did in PAPI before this was reverted, and for Onyx where we have two containers that are currently being build in duplicated pipelines.
@github-actions github-actions Bot added the ci label Apr 27, 2026
@gersmann gersmann marked this pull request as ready for review April 27, 2026 17:51
@gersmann gersmann requested a review from a team as a code owner April 27, 2026 17:51
Copilot AI review requested due to automatic review settings April 27, 2026 17:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Docker Buildx Bake support to the reusable CI image build workflow and wires that capability through the reusable Kubernetes deployment workflow, enabling consumers to build/push images via a bake file instead of docker/build-push-action.

Changes:

  • Introduce a new bakeFile workflow input and update imageTargets description to support Bake targets.
  • Add a new build-ecr-bake job that builds/pushes images via docker buildx bake.
  • Forward the new bakeFile input from kubernetes.yaml into the image build reusable workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/kubernetes.yaml Adds bakeFile input and forwards it into the reusable image build workflow call.
.github/workflows/build-image.yaml Adds bakeFile input, tightens existing job conditions, and adds a new Bake-based ECR build job.

Comment thread .github/workflows/build-image.yaml Outdated
Comment thread .github/workflows/build-image.yaml Outdated
Comment thread .github/workflows/build-image.yaml Outdated
Comment thread .github/workflows/kubernetes.yaml
@gersmann gersmann force-pushed the chore/bake-build-support/sg branch from 6166fdc to c471b1e Compare April 27, 2026 19:41
Copy link
Copy Markdown
Contributor

@kpplis kpplis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Comment thread .github/workflows/kubernetes.yaml Outdated
@gersmann gersmann merged commit 54ab61e into main Apr 28, 2026
4 checks passed
@gersmann gersmann deleted the chore/bake-build-support/sg branch April 28, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants