Merge pull request #87012 from dixudx/pass_through_build_platforms

pass through KUBE_BUILD_PLATFORMS to enable build on specified platforms
This commit is contained in:
Kubernetes Prow Robot 2020-01-22 20:36:49 -08:00 committed by GitHub
commit 26826125e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -569,6 +569,7 @@ function kube::build::run_build_command_ex() {
--env "KUBE_BUILDER_OS=${OSTYPE:-notdetected}"
--env "KUBE_VERBOSE=${KUBE_VERBOSE}"
--env "KUBE_BUILD_WITH_COVERAGE=${KUBE_BUILD_WITH_COVERAGE:-}"
--env "KUBE_BUILD_PLATFORMS=${KUBE_BUILD_PLATFORMS:-}"
--env "GOFLAGS=${GOFLAGS:-}"
--env "GOLDFLAGS=${GOLDFLAGS:-}"
--env "GOGCFLAGS=${GOGCFLAGS:-}"