fix(ci): add docker.io domain prefix for trivy image
DevSecOps Pipeline - V1 Infrastructure / System & Environment Check (push) Successful in 1s Details
DevSecOps Pipeline - V1 Infrastructure / Secret Detection (Gitleaks) (push) Successful in 4s Details
DevSecOps Pipeline - V1 Infrastructure / IaC Security & Vulnerability Scan (Trivy) (push) Successful in 11s Details

Specify docker.io registry prefix and pin Trivy version to resolve Podman short-name resolution error.
This commit is contained in:
Marc Lasserre 2026-08-07 01:16:02 +02:00
parent 2ceda3bf2c
commit 0257edd466
Signed by: M7s
GPG Key ID: F74837410959661B
1 changed files with 1 additions and 1 deletions

View File

@ -36,4 +36,4 @@ jobs:
- name: Run Trivy IaC Scan
run: |
echo "🛡️ Analyse des fichiers d'infrastructure et des vulnérabilités..."
podman run --rm -v "$PWD":/path:z aquasec/trivy:latest config /path
podman run --rm -v "$PWD":/path:z docker.io/aquasec/trivy:0.49.1 config /path