From 5dd65d2d0a5295bb29240f003aa0e20092385c3e Mon Sep 17 00:00:00 2001 From: Chris Hardison Date: Thu, 31 Aug 2023 10:58:48 -0400 Subject: [PATCH] Change method of redirecting stderr to stdout. --- build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 3edada1..5706c35 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,4 @@ #!/bin/bash -exec 2>&1 trap "exit 1" TERM export TOP_PID=$$ @@ -32,7 +31,7 @@ docker build \ --build-arg BUILD_VERSION=$Version \ --build-arg COMMIT_ID=$CommitId \ -t "oneidentity/safeguard-bash:${DockerVersionStr}alpine" \ - $ScriptDir + $ScriptDir 2>&1 docker tag "oneidentity/safeguard-bash:${DockerVersionStr}alpine" "oneidentity/safeguard-bash:latest" echo "Creating zip file artifact ..."