Skip to content

Commit

Permalink
try fix version for docker/starship, add 3 retry on docker build befo…
Browse files Browse the repository at this point in the history
…re failing
  • Loading branch information
Anmol1696 committed Jun 14, 2023
1 parent 2762616 commit 2166aae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/build-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ docker_process_build() {
$buildx_args && break
color red "failed to build docker image, retrying in 5 seconds, retry: $n"
sleep 5
if [[ "$n" == "3" ]]; then
color red "failed to build docker image, exiting"
exit 1
fi
done
echo "$DOCKER_REPO/$process:$tag"
fi
Expand Down

0 comments on commit 2166aae

Please sign in to comment.