Add CI workflow
CI / build-and-scan (push) Successful in 28s

This commit is contained in:
2026-08-21 19:37:24 +02:00
parent b6ad6119d5
commit 8a8e18470e
+5 -5
View File
@@ -17,8 +17,8 @@ jobs:
run: docker build -t adguard-cidre:ci .
- name: Scan with Trivy
uses: aquasecurity/trivy-action@master
with:
image-ref: adguard-cidre:ci
severity: HIGH,CRITICAL
exit-code: 0
run: |
docker run --rm \
-e DOCKER_HOST=tcp://dockerhost:2375 \
--add-host=dockerhost:host-gateway \
aquasec/trivy:0.74.0 image --exit-code 0 --severity HIGH,CRITICAL adguard-cidre:ci