Skip to content

Commit 17583ad

Browse files
committed
Update test/utils/build.sh
1 parent e485409 commit 17583ad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/utils/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,11 @@ while true; do
104104
if [[ "$out" == *"authorization token has expired"* ]] || [[ "$out" == *"no basic auth credentials"* ]]; then
105105
registry_login $login_url $region
106106
continue
107-
elif [[ "$out" == *"does not exist"* ]]; then
107+
elif [[ "$out" == *"repository with name"*"does not exist"* ]]; then
108108
create_ecr_repo $repo_name $region
109109
continue
110+
else
111+
exit $exit_code
110112
fi
111113
fi
112114
fi

0 commit comments

Comments
 (0)