Skip to content

Commit

Permalink
Updated the accepted response from docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
baxy committed Feb 28, 2019
1 parent 36c75f4 commit 17482e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion triggerDockerHub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ curl -s -v -w "\n%{http_code}" -H "$HEADER" --data "$DATA_TO_SEND" -X POST "$DOC
echo "Http Code: $code";
echo "Body: $body";

if [ $code -eq 200 ]; then
if [[ $code -eq 200 || $code -eq 202 ]]; then
exit 0;
else
exit 1;
Expand Down

0 comments on commit 17482e9

Please sign in to comment.