From 488aeed7f2d69b9acb04a4de1ff68aca9edab678 Mon Sep 17 00:00:00 2001 From: Carsten Lenz Date: Wed, 23 Oct 2024 13:56:50 +0200 Subject: [PATCH] chore: more content to step_summary --- scripts/failure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/failure.sh b/scripts/failure.sh index 0a3fa5d..f2eaf64 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 "$error" >> "$GITHUB_STEP_SUMMARY" + error=$(docker pull "$image" 2>&1) || echo -e "Failed to pull $image\n\n$error" >> "$GITHUB_STEP_SUMMARY" done