From a80f82cb641291647f3c1bd296af62a46a7b3436 Mon Sep 17 00:00:00 2001 From: Yvv Date: Wed, 12 Aug 2026 02:55:08 +0200 Subject: [PATCH] =?UTF-8?q?ci=20:=20SBOM=20CycloneDX=20=C3=A9pingl=C3=A9?= =?UTF-8?q?=20en=20spec=201.5=20(compat=20trivy=20du=20runner)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - syft installé en « latest » émet une spec plus récente que ce que le trivy 0.69.3 du runner décode → « invalid specification version » au step sbom-scan (pipeline 26, tout le reste était vert) Co-Authored-By: Claude Fable 5 --- .woodpecker.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 706354f..072839c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -65,8 +65,9 @@ steps: - apk add --no-cache curl - curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin latest - mkdir -p .reports - - syft libredecision-backend:latest -o cyclonedx-json --file .reports/sbom-backend.cyclonedx.json - - syft libredecision-frontend:latest -o cyclonedx-json --file .reports/sbom-frontend.cyclonedx.json + # spec 1.5 épinglée : syft « latest » émet plus récent que ce que le trivy du runner décode + - syft libredecision-backend:latest -o cyclonedx-json@1.5 --file .reports/sbom-backend.cyclonedx.json + - syft libredecision-frontend:latest -o cyclonedx-json@1.5 --file .reports/sbom-frontend.cyclonedx.json - echo "SBOM generes" # NOTE: volumes + pas de from_secret : compatible