networkop / meshnet-cni

a (K8s) CNI plugin to create arbitrary virtual network topologies
BSD 3-Clause "New" or "Revised" License
116 stars 28 forks source link

Changes in release workflow to create multi-arch builds #51

Closed ashutshkumr closed 1 year ago

ashutshkumr commented 1 year ago

Fixes https://github.com/networkop/meshnet-cni/issues/50

It seems as if the proper way to do it is to install emulators before the build per https://github.com/docker/buildx/issues/464#issuecomment-740434862.

FYI, this might be due to a change in moby/buildkit (a2c9241854f2) -> moby/buildkit (3ca743fc1489)

@kingshukdev FYI

ashutshkumr commented 1 year ago

FYI: Before this fix, on a clean ubuntu 20.04/22.04 LTS, make release fails while building binaries for arm64 (host platform is x86_64).

This is the best way to reproduce the issue. I believe on existing setups where it used to work before, it will still work (probably because multi-arch toolchain/emulators might've installed already)