Merge pull request #1774 from ikaven1024/speedup

fix readonly variable error in `docker.sh`
This commit is contained in:
karmada-bot 2022-05-11 18:22:31 +08:00 committed by GitHub
commit df6560a3bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ REGISTRY=${REGISTRY:-"swr.ap-southeast-1.myhuaweicloud.com/karmada"}
VERSION=${VERSION:="unknown"}
function build_images() {
local -ra target=$1
local -r target=$1
local -r output_type=${OUTPUT_TYPE:-docker}
local platforms="${BUILD_PLATFORMS:-"$(util:host_platform)"}"