Compare commits

..

No commits in common. "088a4ddf4c39beb17465359bede9daa08ffc39e9" and "235661bc433060604703f4c9d8b17d28d7a01fc9" have entirely different histories.

View File

@ -45,15 +45,14 @@ jobs:
git.aridgwayweb.com/armistace/blog:latest git.aridgwayweb.com/armistace/blog:latest
- name: Trivy Scan - name: Trivy Scan
run: | uses: aquasecurity/trivy-action@master
echo "Installing Trivy with:
sudo apt-get update image-ref: ${{ vars.DOCKER_SERVER }}/${{ vars.DOCKER_USERNAME }}/blog:latest
sudo apt-get install wget apt-transport-https gnupg lsb-release format: table
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add - exit-code: 1
echo deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main | sudo tee -a /etc/apt/sources.list.d/trivy.list ignore-unfixed: true
sudo apt-get update vuln-type: os,library
sudo apt-get install trivy severity: HIGH,CRITICAL
trivy image --format table --exit-code 1 --ignore-unfixed --vuln-type os,library --severity HIGH,CRITICAL git.aridgwayweb.com/armistace/blog:latest
- name: Deploy - name: Deploy
run: | run: |