fix(ci): add volume permissions flag for podman gitleaks scan
DevSecOps Pipeline - V1 Infrastructure / System & Environment Check (push) Successful in 0s Details
DevSecOps Pipeline - V1 Infrastructure / Secret Detection (Gitleaks) (push) Successful in 4s Details

Add :z flag to Podman volume mount to resolve exit status 126 permission issues on SELinux/host runner.
This commit is contained in:
Marc Lasserre 2026-08-07 01:09:27 +02:00
parent 04540ce152
commit 79fd93e7ce
Signed by: M7s
GPG Key ID: F74837410959661B
1 changed files with 1 additions and 1 deletions

View File

@ -23,4 +23,4 @@ jobs:
- name: Run Gitleaks via Podman
run: |
echo "🔍 Lancement du scan Gitleaks..."
podman run --rm -v "$PWD":/path docker.io/zricethezav/gitleaks:v8.18.2 detect --source="/path" --version
podman run --rm -v "$PWD":/path:z docker.io/zricethezav/gitleaks:v8.18.2 detect --source="/path" -v