From c7fc7f3b61053dee122e50b79715e80a53b82f6d Mon Sep 17 00:00:00 2001 From: Carsten Lenz Date: Wed, 23 Oct 2024 14:01:48 +0200 Subject: [PATCH] chore: set error in code tags --- scripts/failure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/failure.sh b/scripts/failure.sh index 1bdd6c7..5528496 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 Detailed error message:\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