From 0a5f6c17c7cd16d00de080cd387ca4253accdf68 Mon Sep 17 00:00:00 2001 From: Michael Lewkowski Date: Tue, 27 Feb 2024 11:39:06 +0100 Subject: [PATCH] Fix syntax issue --- .github/workflows/amazon-inspector-image-scan.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/amazon-inspector-image-scan.yml b/.github/workflows/amazon-inspector-image-scan.yml index a0b2966..4aa074b 100644 --- a/.github/workflows/amazon-inspector-image-scan.yml +++ b/.github/workflows/amazon-inspector-image-scan.yml @@ -40,9 +40,7 @@ jobs: && curl "https://amazon-inspector-sbomgen.s3.amazonaws.com/latest/linux/amd64/inspector-sbomgen.zip" -O && unzip -qq -j inspector-sbomgen.zip -d $inspector_sbomgen_path && chmod +x "$inspector_sbomgen_path/inspector-sbomgen" - && echo "$inspector_sbomgen_path" >> $GITHUB_PATH - - name: Scan Local Image - run: "$inspector_sbomgen_path/inspector-sbomgen" container --image localhost:5000/${{ inputs.docker-image-name }}:latest -o "$inspector_sbomgen_output_path" + run: "$inspector_sbomgen_path/inspector-sbomgen container --image localhost:5000/${{ inputs.docker-image-name }}:latest -o $inspector_sbomgen_output_path" - name: Show results run: cat "$inspector_sbomgen_output_path"