fix readonly variable error in `docker.sh`

Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
This commit is contained in:
yingjinhui 2022-05-11 17:34:02 +08:00
parent c2dfc3a3f9
commit 285fb81de0
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)"}"