Update aquasec/trivy Docker tag to v0.76.2
renovate/stability-days Updates have met minimum release age requirement
CI / build-and-scan (pull_request) Successful in 51s

This commit is contained in:
Djeex committed 2026-11-21 18:17:23 +00:00
1 parent ec64cc6508
commit 7c2c4985c0
1 file changed
+3 -3
+3 -3
View File
@@ -54,7 +54,7 @@ jobs:
docker run --rm \ docker run --rm \
-e DOCKER_HOST=tcp://dockerhost:2375 \ -e DOCKER_HOST=tcp://dockerhost:2375 \
--add-host=dockerhost:host-gateway \ --add-host=dockerhost:host-gateway \
aquasec/trivy:0.74.0 image --exit-code 1 --severity CRITICAL socat-proxy:ci aquasec/trivy:0.76.2 image --exit-code 1 --severity CRITICAL socat-proxy:ci
- name: Handle CRITICAL findings - name: Handle CRITICAL findings
if: steps.trivy_critical.outcome == 'failure' if: steps.trivy_critical.outcome == 'failure'
@@ -72,7 +72,7 @@ jobs:
if docker run --rm \ if docker run --rm \
-e DOCKER_HOST=tcp://dockerhost:2375 \ -e DOCKER_HOST=tcp://dockerhost:2375 \
--add-host=dockerhost:host-gateway \ --add-host=dockerhost:host-gateway \
aquasec/trivy:0.74.0 image --exit-code 1 --severity CRITICAL socat-proxy:remediated; then aquasec/trivy:0.76.2 image --exit-code 1 --severity CRITICAL socat-proxy:remediated; then
echo "apk upgrade clears the CRITICAL finding(s) — opening a PR for review." echo "apk upgrade clears the CRITICAL finding(s) — opening a PR for review."
BRANCH="auto/cve-fix-$(date +%Y%m%d)-$(echo "${{ github.sha }}" | cut -c1-7)" BRANCH="auto/cve-fix-$(date +%Y%m%d)-$(echo "${{ github.sha }}" | cut -c1-7)"
@@ -100,7 +100,7 @@ jobs:
docker run --rm \ docker run --rm \
-e DOCKER_HOST=tcp://dockerhost:2375 \ -e DOCKER_HOST=tcp://dockerhost:2375 \
--add-host=dockerhost:host-gateway \ --add-host=dockerhost:host-gateway \
aquasec/trivy:0.74.0 image --exit-code 0 --severity HIGH socat-proxy:ci aquasec/trivy:0.76.2 image --exit-code 0 --severity HIGH socat-proxy:ci
- name: Publish tagged image - name: Publish tagged image
if: github.event_name == 'push' && github.ref == 'refs/heads/main' if: github.event_name == 'push' && github.ref == 'refs/heads/main'