From b292ce806185e6df732265705778f69778ac7812 Mon Sep 17 00:00:00 2001 From: Tim Arenz Date: Thu, 21 Sep 2023 14:24:25 +0200 Subject: [PATCH] chore(refactor): fix console and summary output --- docker-entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 7f1e9ae..d567add 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -44,7 +44,8 @@ rm ${GITHUB_WORKSPACE}/evaluations/${INPUT_IMAGE_NAME}/${INPUT_IMAGE_TAG}/evalua --build-id ${GITHUB_RUN_ID} \ --data-directory ${GITHUB_WORKSPACE} \ --policy \ - --fail-on-violation-exit-code 1 ${SCANNER_PARAMETERS} 1> tee results.stdout + --fail-on-violation-exit-code 1 ${SCANNER_PARAMETERS} 1> | tee results.stdout + export SCANNER_EXIT_CODE=$? if [ "${INPUT_RESULTS_IN_GITHUB_SUMMARY}" = "true" ]; then