Skip to content

Commit

Permalink
chore: remove exit
Browse files Browse the repository at this point in the history
  • Loading branch information
carslen committed Oct 23, 2024
1 parent e162f38 commit a9538d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/failure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ echo "This script will fail"
images=("alpine" "gibtsnicht:1.23.34")

for image in "${images[@]}"; do
error=$(docker pull "$image" 2>&1) ||
echo -e "Failed to pull $image\n\nDetailed error message:\n$error" >> "$GITHUB_STEP_SUMMARY"; exit 1
error=$(docker pull "$image" 2>&1) || echo -e "Failed to pull $image\n\nDetailed error message:\n$error" >> "$GITHUB_STEP_SUMMARY"
done

0 comments on commit a9538d9

Please sign in to comment.