Skip to content

ci: distribute multi-platform bin-image build #3005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

crazy-max
Copy link
Member

@crazy-max crazy-max commented Feb 18, 2025

closes #3040

Switch to reusable workflow distributing multi-platform build across runners for bin-image job: https://github.com/crazy-max/.github?tab=readme-ov-file#bake-distribute-mp

@crazy-max
Copy link
Member Author

Currently it takes almost 20min to build the bin image: https://github.com/docker/buildx/actions/runs/13401108061/job/37432288863

image

With this reusable workflow to distribute multi-platform builds it's ~3min

image

@@ -31,7 +31,6 @@ env:
SETUP_BUILDX_VERSION: "edge"
SETUP_BUILDKIT_IMAGE: "moby/buildkit:latest"
SCOUT_VERSION: "1.11.0"
REPO_SLUG: "docker/buildx-bin"
Copy link
Member Author

Choose a reason for hiding this comment

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

Unfortunately we can't use env object in a reusable workflow input atm.

@crazy-max crazy-max requested a review from tonistiigi March 6, 2025 17:42
@crazy-max crazy-max marked this pull request as ready for review March 6, 2025 17:42
@crazy-max crazy-max force-pushed the ci-split-bin-image branch from 6b0b441 to 4dfe3d3 Compare March 11, 2025 15:06
@thompson-shaun thompson-shaun added this to the v0.24.0 milestone Apr 10, 2025
@crazy-max crazy-max modified the milestones: v0.24.0, v0.future May 13, 2025
@crazy-max
Copy link
Member Author

crazy-max commented May 13, 2025

Putting this one back in draft as using git context makes the buildx version being wrong related to #3155

@crazy-max crazy-max marked this pull request as draft May 13, 2025 12:03
@crazy-max crazy-max removed this from the v0.future milestone May 13, 2025
@crazy-max crazy-max force-pushed the ci-split-bin-image branch from 4dfe3d3 to 64f2286 Compare May 26, 2025 12:05
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the ci-split-bin-image branch from 64f2286 to a045cbf Compare May 26, 2025 12:07
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.

2 participants