We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf7112a commit b1d0277Copy full SHA for b1d0277
build/lib/release.sh
@@ -372,17 +372,10 @@ function kube::release::create_docker_images_for_server() {
372
docker_build_opts='--pull'
373
fi
374
375
- for wrappable in "${binaries[@]}"; do
+ for wrappable in $binaries; do
376
377
- local oldifs=$IFS
378
- IFS=","
379
- # Word splitting is most intentional here
380
- # shellcheck disable=SC2086
381
- set $wrappable
382
- IFS=$oldifs
383
-
384
- local binary_name="$1"
385
- local base_image="$2"
+ local binary_name=${wrappable%%,*}
+ local base_image=${wrappable##*,}
386
local binary_file_path="${binary_dir}/${binary_name}"
387
local docker_build_path="${binary_file_path}.dockerbuild"
388
local docker_file_path="${docker_build_path}/Dockerfile"
0 commit comments