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