lets just install trivy
Some checks failed
Build and Push Image / Build and push image (push) Failing after 21m2s
Some checks failed
Build and Push Image / Build and push image (push) Failing after 21m2s
This commit is contained in:
parent
fa4deafcc6
commit
088a4ddf4c
@ -47,6 +47,7 @@ jobs:
|
|||||||
- name: Trivy Scan
|
- name: Trivy Scan
|
||||||
run: |
|
run: |
|
||||||
echo "Installing Trivy
|
echo "Installing Trivy
|
||||||
|
sudo apt-get update
|
||||||
sudo apt-get install wget apt-transport-https gnupg lsb-release
|
sudo apt-get install wget apt-transport-https gnupg lsb-release
|
||||||
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add -
|
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/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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user