You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seemed that we cannot specify platform in docker rest client when cross-platform build was initially implemented, so when platform is set here , skaffold will always use docker cli to build image,
, the problem is that --check-cluster-node-platforms flag is set to true for dev, run , debug, that makes platform parameter in the above code is alway not empty. We should remove that condition, and inject platform into buildOption when use docker rest client to issue build request to docker host.
Some Context
#8430 (comment)
#8430 (comment)
It seemed that we cannot specify platform in docker rest client when cross-platform build was initially implemented, so when platform is set here , skaffold will always use docker cli to build image,
skaffold/pkg/skaffold/build/docker/docker.go
Line 75 in 88e1c17
skaffold/vendor/github.com/docker/docker/api/types/client.go
Line 198 in bca77a4
The text was updated successfully, but these errors were encountered: