Skip to content

Commit

Permalink
Removing the loop as only single tag is getting passed
Browse files Browse the repository at this point in the history
Signed-off-by: bharathappali <[email protected]>
  • Loading branch information
bharathappali committed Feb 17, 2021
1 parent b6cd160 commit 1470a5a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build_latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,7 @@ function build_image() {
btype=$1; shift;

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

auto_space_line=" "
image_name="${repo}:${tag}"
Expand Down

0 comments on commit 1470a5a

Please sign in to comment.