Merge pull request #100046 from BenTheElder/whatwhat

support additional WHAT= when building release-images / quick-release…
This commit is contained in:
Kubernetes Prow Robot
2021-03-10 04:35:13 -08:00
committed by GitHub

View File

@@ -29,6 +29,11 @@ CMD_TARGETS="${KUBE_SERVER_IMAGE_TARGETS[*]}"
if [[ "${KUBE_BUILD_CONFORMANCE}" =~ [yY] ]]; then
CMD_TARGETS="${CMD_TARGETS} ${KUBE_CONFORMANCE_IMAGE_TARGETS[*]}"
fi
# include extra WHAT if specified so you can build docker images + binaries
# in one call with a single pass of syncing to the container + generating code
if [[ -n "${KUBE_EXTRA_WHAT:-}" ]]; then
CMD_TARGETS="${CMD_TARGETS} ${KUBE_EXTRA_WHAT}"
fi
kube::build::verify_prereqs
kube::build::build_image