Skip to content

Commit

Permalink
Update image-scan.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rahu1ramesh authored Mar 15, 2024
1 parent 627bf29 commit 0049756
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion script/image-scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ if ! command -v trivy &> /dev/null; then
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add -
echo deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main | sudo tee -a /etc/apt/sources.list.d/tr…
sudo apt-get install trivy
exit 1
else
echo "Found trivy, using trivy v$(trivy -v | cut -d ' ' -f 2)"
fi
Expand Down

0 comments on commit 0049756

Please sign in to comment.