From b9366db2387dcad8f5f8712b3c4b657d742af107 Mon Sep 17 00:00:00 2001 From: Nic Cheneweth Date: Mon, 21 Oct 2024 17:13:33 -0500 Subject: [PATCH] [nc] iterate on artifact creation and upload Signed-off-by: Nic Cheneweth --- trivy-scan/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trivy-scan/action.yaml b/trivy-scan/action.yaml index b8fb195..f86770e 100644 --- a/trivy-scan/action.yaml +++ b/trivy-scan/action.yaml @@ -54,7 +54,7 @@ runs: shell: bash run: | exitcode="--exit-code 1" - if [[ ${{ inputs.pipeline-nofail == "true" }} ]]; then + if [[ "${{ inputs.pipeline-nofail }}" == "true" ]]; then exitcode="" fi trivy image --severity ${{ inputs.trivy-severity }} \