Is your feature request related to a problem?
I need to build from my Macos both image for ARM64 and AMD64.
Today, the docker build not follor the GOARCH selected. if we need to build a AMD64 on a macos, the docker image is flagged as ARM64.
Describe the solution you'd like
Use docker buildx and the platform generate a compatible container image for arm and amd.
Describe alternatives you've considered
Use another builder like buildah