Skip to content

fix: use correct platform when creating remote buildx builder#118

Merged
adityamaru merged 3 commits intomasterfrom
builder-misconfig
Jun 11, 2025
Merged

fix: use correct platform when creating remote buildx builder#118
adityamaru merged 3 commits intomasterfrom
builder-misconfig

Conversation

@adityamaru
Copy link

The remote builder was hardcoded to use --platform linux/amd64 regardless of user input or runner architecture. This caused performance issues on ARM runners and cache inefficiencies.

Now properly uses the platforms input or detects host architecture to avoid unnecessary QEMU emulation and improve build performance.

🤖 Generated with Claude Code

The remote builder was hardcoded to use --platform linux/amd64
regardless of user input or runner architecture. This caused
performance issues on ARM runners and cache inefficiencies.

Now properly uses the platforms input or detects host architecture
to avoid unnecessary QEMU emulation and improve build performance.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@adityamaru adityamaru requested a review from aayushshah15 June 11, 2025 17:01
The test was hardcoded to expect arm64 platform, causing failures
on AMD runners. Now checks actual host architecture dynamically.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@adityamaru adityamaru merged commit 4fac798 into master Jun 11, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants