feat: add initial multi-environment CI/CD pipeline POC #3
@@ -76,13 +76,11 @@ jobs:
|
|||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- name: Run Trivy vulnerability scanner
|
- name: Run Trivy vulnerability scanner
|
||||||
uses: aquasecurity/trivy-action@master
|
run: |
|
||||||
with:
|
docker run --rm \
|
||||||
image-ref: ci-image:latest
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
format: table
|
aquasec/trivy:latest \
|
||||||
exit-code: 1
|
image --severity HIGH,CRITICAL --exit-code 1 --ignore-unfixed ci-image:latest
|
||||||
severity: HIGH,CRITICAL
|
|
||||||
ignore-unfixed: true
|
|
||||||
|
|
||||||
summary:
|
summary:
|
||||||
name: Generate Summary
|
name: Generate Summary
|
||||||
|
|||||||
Reference in New Issue
Block a user