generated from nhcarrigan/template
This commit is contained in:
@@ -24,7 +24,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install wget apt-transport-https gnupg lsb-release -y
|
sudo apt-get install wget apt-transport-https gnupg lsb-release -y
|
||||||
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add -
|
wget -qO /tmp/trivy-key.asc https://aquasecurity.github.io/trivy-repo/deb/public.key
|
||||||
|
sudo apt-key add /tmp/trivy-key.asc
|
||||||
echo "deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/trivy.list
|
echo "deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/trivy.list
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install trivy -y
|
sudo apt-get install trivy -y
|
||||||
@@ -80,4 +81,3 @@ jobs:
|
|||||||
echo "=== Semgrep Static Analysis Results ==="
|
echo "=== Semgrep Static Analysis Results ==="
|
||||||
cat semgrep-results.txt
|
cat semgrep-results.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user