add trivy scan to pipeline
Some checks failed
Build and Push Image / Build and push image (push) Failing after 22m24s
Some checks failed
Build and Push Image / Build and push image (push) Failing after 22m24s
This commit is contained in:
parent
ab23eec10b
commit
d2a36f6d99
@ -44,6 +44,16 @@ jobs:
|
||||
tags: |
|
||||
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
|
||||
run: |
|
||||
echo "Installing Kubectl"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user