From 285fb81de05651c3b5f10858f8e87ead812c3984 Mon Sep 17 00:00:00 2001 From: yingjinhui Date: Wed, 11 May 2022 17:34:02 +0800 Subject: [PATCH] fix readonly variable error in `docker.sh` Signed-off-by: yingjinhui --- hack/docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/docker.sh b/hack/docker.sh index 683c4daf9..f82eebe18 100755 --- a/hack/docker.sh +++ b/hack/docker.sh @@ -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)"}"