Merge pull request #1774 from ikaven1024/speedup
fix readonly variable error in `docker.sh`
This commit is contained in:
commit
df6560a3bd
|
@ -31,7 +31,7 @@ REGISTRY=${REGISTRY:-"swr.ap-southeast-1.myhuaweicloud.com/karmada"}
|
||||||
VERSION=${VERSION:="unknown"}
|
VERSION=${VERSION:="unknown"}
|
||||||
|
|
||||||
function build_images() {
|
function build_images() {
|
||||||
local -ra target=$1
|
local -r target=$1
|
||||||
local -r output_type=${OUTPUT_TYPE:-docker}
|
local -r output_type=${OUTPUT_TYPE:-docker}
|
||||||
local platforms="${BUILD_PLATFORMS:-"$(util:host_platform)"}"
|
local platforms="${BUILD_PLATFORMS:-"$(util:host_platform)"}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue