mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #88993 from zhijianli88/remove-duplicate-targets
build/release-images.sh: remove possible duplicate targets
This commit is contained in:
commit
8cecc9aeb7
@ -31,7 +31,9 @@ if [[ "${KUBE_BUILD_CONFORMANCE}" =~ [yY] ]]; then
|
||||
fi
|
||||
|
||||
# TODO(dims): Remove this when we get rid of hyperkube image
|
||||
CMD_TARGETS="${CMD_TARGETS} cmd/kubelet cmd/kubectl"
|
||||
if [[ "${KUBE_BUILD_HYPERKUBE}" =~ [yY] ]]; then
|
||||
CMD_TARGETS=$(echo "${CMD_TARGETS} cmd/kubelet cmd/kubectl" | tr ' ' '\n' | sort | uniq | tr '\n' ' ')
|
||||
fi
|
||||
|
||||
kube::build::verify_prereqs
|
||||
kube::build::build_image
|
||||
|
Loading…
Reference in New Issue
Block a user