Skip to content

Commit 1470a5a

Browse files
committed
Removing the loop as only single tag is getting passed
Signed-off-by: bharathappali <[email protected]>
1 parent b6cd160 commit 1470a5a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build_latest.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,7 @@ function build_image() {
217217
btype=$1; shift;
218218

219219
local local_tags=("$@") # copy arguments to local array
220-
for i in "${!local_tags[@]}"
221-
do
222-
tags="${tags} -t ${repo}:${tag}"
223-
done
220+
tags=" -t ${repo}:${tag}"
224221

225222
auto_space_line=" "
226223
image_name="${repo}:${tag}"

0 commit comments

Comments
 (0)