Skip to content

Conversation

@SerhatG
Copy link
Member

@SerhatG SerhatG commented Jan 16, 2026

This should speed up building, as only the resulting image will use the target arch.

… arch

This should speed up building, as only the resulting image will use the target arch.
@SerhatG
Copy link
Member Author

SerhatG commented Jan 16, 2026

Before:
2026-01-16_151633

After:
2026-01-16_151949

Both are after another build so caching kicks in so the comparison is more fair.

@SerhatG SerhatG requested a review from BertScholten January 16, 2026 14:21
Copy link
Member

@BertScholten BertScholten left a comment

Choose a reason for hiding this comment

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

ACK (though do wonder what happens if BUILDPLATFORM is not specified)

@SerhatG
Copy link
Member Author

SerhatG commented Jan 16, 2026

ACK (though do wonder what happens if BUILDPLATFORM is not specified)

These are provided by Docker bake (buildx) itself I believe. For it not to be set, you'd need to use a very old version, but as this uses our github-actions, which enforces bake (buildx) with multi-platform support, it shouldn't be an issue.

@SerhatG SerhatG merged commit f1d8a06 into aerius:main Jan 16, 2026
2 checks passed
@SerhatG SerhatG deleted the build_multiplatform_efficient branch January 16, 2026 14:49
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