Skip to content

Build/push multiplatform image (add arm64)#45

Merged
gdw2vs merged 4 commits intomasterfrom
multiplatform
Feb 26, 2026
Merged

Build/push multiplatform image (add arm64)#45
gdw2vs merged 4 commits intomasterfrom
multiplatform

Conversation

@kanaka
Copy link
Collaborator

@kanaka kanaka commented Feb 26, 2026

  • Support arm64 build in Dockerfile and build/push amd64 and arm64 in GHA release step.
  • Fix test12 to support k3s version 1.35
  • Move test12 default range to reduce change of collision when running k3s on k8s.

This supports more efficient execution on MacOS/arm64. It also gets
around a bug where on MacOS, invoking a amd64 wait command and then
exec-ing an arm64 executable seems to hang (either in network checking
or in the exec itself).

Changes
- Dockerfile: Support buildx platform specific build (remove hard-coded
  arch triple and use buildx TAGERTARCH magic build arg to set triple.
- push workflow: Do multiplatform build and push.
This syntax is supported by the current 1.34 version too so this should
be sufficient backwards compatible.
Instead of using the default 10.42.0.0/15 range for the k8s default control
plane and data plane CIDR ranges, use 10.128.0.0/15 instead. This
reduces the changes of colliding with a host POD range (i.e. if conlink
is being run where the host system itself is a k8s POD container).
- Minor version bump since we are adding a new platform (more than just
  a patch/fix)
@kanaka kanaka requested review from gdw2vs and gnakaki-vs February 26, 2026 15:48
@gdw2vs gdw2vs merged commit 9d40c05 into master Feb 26, 2026
8 checks passed
@gdw2vs gdw2vs deleted the multiplatform branch February 26, 2026 16:26
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