add trivy scan to pipeline
Some checks failed
Build and Push Image / Build and push image (push) Failing after 22m24s

This commit is contained in:
Andrew Ridgway 2025-09-29 16:27:19 +10:00
parent ab23eec10b
commit d2a36f6d99
Signed by: armistace
GPG Key ID: C8D9EAC514B47EF1

View File

@ -44,6 +44,16 @@ jobs:
tags: | tags: |
git.aridgwayweb.com/armistace/blog:latest git.aridgwayweb.com/armistace/blog:latest
- name: Trivy Scan
uses: aquasecurity/trivy-action@0.28.0
with:
image-ref: ${{ vars.DOCKER_SERVER }}/${{ vars.DOCKER_USERNAME }}/blog:latest
format: table
exit-code: 1
ignore-unfixed: true
vuln-type: os,library
severity: HIGH,CRITICAL
- name: Deploy - name: Deploy
run: | run: |
echo "Installing Kubectl" echo "Installing Kubectl"