Skip to content
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

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

Open
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

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the ci-split-bin-image branch from e0b2704 to 6b0b441 Compare March 6, 2025 17:39
@@ -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
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.

1 participant