Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
[deploy] 4.17.0 - Fix bug in auto-retry logic where if build fails 5 …
Browse files Browse the repository at this point in the history
…times it needs to also return exit 1 to not let CI think it succeeded.
  • Loading branch information
jamesmortensen committed Jan 30, 2024
1 parent 1467119 commit e22b1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ jobs:
export PLATFORMS=${PLATFORMS}
export BUILD_ARGS=${BUILD_ARGS}
# If there are build errors, let's retry
max=5; until sh build-and-push.sh $MAKE_TARGETS; do if [ $((--max)) = 0 ]; then echo Giving up; break; fi; done
max=5; until sh build-and-push.sh $MAKE_TARGETS; do if [ $((--max)) = 0 ]; then echo Giving up; exit 1; fi; done
- when:
condition:
Expand Down

0 comments on commit e22b1f0

Please sign in to comment.