From b85bc6013f4a03c010e0c7dbe92d1a3de50e6724 Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Tue, 9 Mar 2021 15:52:53 -0800 Subject: [PATCH] support additional WHAT= when building release-images / quick-release-images --- build/release-images.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/release-images.sh b/build/release-images.sh index 6a5ea6b4972..c9182f4a2ca 100755 --- a/build/release-images.sh +++ b/build/release-images.sh @@ -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