diff --git a/scripts/failure.sh b/scripts/failure.sh index f2eaf64..1bdd6c7 100755 --- a/scripts/failure.sh +++ b/scripts/failure.sh @@ -5,5 +5,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\n$error" >> "$GITHUB_STEP_SUMMARY" + error=$(docker pull "$image" 2>&1) || echo -e "Failed to pull $image\n\n Detailed error message:\n$error" >> "$GITHUB_STEP_SUMMARY" done