fix: build multi arch images from base up
currently busybox is in sync with build platform arch
so let's sync it to the target platform arch.
this will enable users to enter running containers
without getting arch driven errors.
@@ -98,7 +98,8 @@ def build(ctx, binaries, architectures, registry="quay.io", repo="metallb", tag=
branch=branch),
env=env,
echo=True)
- run("docker build "
+ run("docker buildx build --load "
+ "--platform linux/{arch} "
"-t {registry}/{repo}/{bin}:{tag}-{arch} "
"-f {bin}/Dockerfile build/{arch}/{bin}".format(
registry=registry,
