Fix docker command to trivy scan

This commit is contained in:
2026-01-15 16:19:08 +00:00
parent 4980903572
commit 1c3025b2d6

View File

@@ -17,7 +17,8 @@ jobs:
continue-on-error: true
run: |
docker run --rm \
--volumes-from "$HOSTNAME" \
-v "$PWD:/work" \
-w /work \
aquasec/trivy:latest \
fs . \
--scanners vuln \
@@ -26,7 +27,7 @@ jobs:
--severity MEDIUM,HIGH,CRITICAL \
--ignore-unfixed \
--format json \
--output /workspace/chguard/trivy.json \
--output trivy.json \
--exit-code 1
- name: Notify Node-RED on vulnerabilities