Commit a0136187 authored by BONNEFILLE Guilhem's avatar BONNEFILLE Guilhem Committed by Guilhem Bonnefille
Browse files

fix(sbom): add support for tracing syft

parent f69d8e41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1596,7 +1596,7 @@ py-sbom:
        mkdir -p $PIP_CACHE_DIR
        mv ./syft $python_sbom_syft
      fi
    - $python_sbom_syft dir:. --source-name $PYTHON_SBOM_NAME $PYTHON_SBOM_OPTS -o cyclonedx-json > reports/py-sbom.cyclonedx.json
    - $python_sbom_syft dir:. ${TRACE+-vv} --source-name $PYTHON_SBOM_NAME $PYTHON_SBOM_OPTS -o cyclonedx-json > reports/py-sbom.cyclonedx.json
    - chmod a+r reports/py-sbom.cyclonedx.json
  artifacts:
    name: "Python SBOM from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"