When running skaffold run / skaffold build, I expect the image to be built for linux/arm64 (when the Kubernetes nodes are running linux/arm64). This should behave, effectively, the same as a pack build which now supports arm64
Actual behavior
The following warning is printed to stdout:
WARN[0000] builder for artifact "app" doesn't support building for target platforms: "linux/arm64". Building for supported platforms "linux/amd64" instead. subtask=app task=Build
after which the container is built for linux/amd64.
I suspect this is related to this line which enforces amd64 for Buildpacks (which is no longer true).
Expected behavior
When running
skaffold run
/skaffold build
, I expect the image to be built for linux/arm64 (when the Kubernetes nodes are running linux/arm64). This should behave, effectively, the same as apack build
which now supports arm64Actual behavior
The following warning is printed to stdout:
after which the container is built for linux/amd64.
I suspect this is related to this line which enforces amd64 for Buildpacks (which is no longer true).
Information
Steps to reproduce the behavior
skaffold build
on an arm64 arch (like an M1 or a linux/arm64 machine)