mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
using echo to print args
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
This commit is contained in:
parent
dcf94c6d33
commit
8249e483f4
@ -382,7 +382,8 @@ EOF
|
|||||||
if [[ "${KUBE_BUILD_PULL_LATEST_IMAGES}" =~ [yY] ]]; then
|
if [[ "${KUBE_BUILD_PULL_LATEST_IMAGES}" =~ [yY] ]]; then
|
||||||
docker_build_opts+=("--pull")
|
docker_build_opts+=("--pull")
|
||||||
fi
|
fi
|
||||||
"${DOCKER[@]}" build "${docker_build_opts[@]}" -q -t "${docker_image_tag}" "${docker_build_path}" >/dev/null
|
echo "'${DOCKER[@]}' build '${docker_build_opts[@]}' -q -t '${docker_image_tag}' '${docker_build_path}' >/dev/null"
|
||||||
|
"${DOCKER[@]}" build "${!docker_build_opts[@]}" -q -t "${docker_image_tag}" "${docker_build_path}" >/dev/null
|
||||||
# If we are building an official/alpha/beta release we want to keep
|
# If we are building an official/alpha/beta release we want to keep
|
||||||
# docker images and tag them appropriately.
|
# docker images and tag them appropriately.
|
||||||
local -r release_docker_image_tag="${KUBE_DOCKER_REGISTRY-$docker_registry}/${binary_name}-${arch}:${KUBE_DOCKER_IMAGE_TAG-$docker_tag}"
|
local -r release_docker_image_tag="${KUBE_DOCKER_REGISTRY-$docker_registry}/${binary_name}-${arch}:${KUBE_DOCKER_IMAGE_TAG-$docker_tag}"
|
||||||
|
Loading…
Reference in New Issue
Block a user