Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Commit

Permalink
chore: update scanner version
Browse files Browse the repository at this point in the history
  • Loading branch information
hayk99 committed Dec 15, 2021
1 parent 86b298e commit 0287002
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/sysdiglabs/cloud-iac-scanner:pr-585
FROM ghcr.io/sysdiglabs/cloud-iac-scanner:pr-613

COPY entrypoint.sh /entrypoint.sh

Expand Down
7 changes: 1 addition & 6 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,4 @@

SCANNEROUTPUT="$(/cloud-iac-scanner -p $1 -d $GITHUB_WORKSPACE)"

if [ $? -eq 1 ]; then
echo "::set-output name=scanner-output::Error scanning\n$SCANNEROUTPUT"
exit 1
else
echo "::set-output name=scanner-output::$SCANNEROUTPUT"
fi
echo "::set-output name=scanner-output::$SCANNEROUTPUT"

0 comments on commit 0287002

Please sign in to comment.