Loading .gitlab-ci.yml +11 −2 Original line number Diff line number Diff line Loading @@ -12,9 +12,18 @@ secret_detection: dependency_vulnerability_scan: stage: test image: ghcr.io/google/osv-scanner:v2 image: alpine:latest before_script: - apk add --no-cache osv-scanner script: - scan --lockfile=uv.lock --format=json --output=osv-report.json - | set +e osv-scanner scan -L uv.lock \ --format=json \ --output-file=osv-report.json STATUS=$? test -f osv-report.json exit $STATUS artifacts: when: always paths: Loading Loading
.gitlab-ci.yml +11 −2 Original line number Diff line number Diff line Loading @@ -12,9 +12,18 @@ secret_detection: dependency_vulnerability_scan: stage: test image: ghcr.io/google/osv-scanner:v2 image: alpine:latest before_script: - apk add --no-cache osv-scanner script: - scan --lockfile=uv.lock --format=json --output=osv-report.json - | set +e osv-scanner scan -L uv.lock \ --format=json \ --output-file=osv-report.json STATUS=$? test -f osv-report.json exit $STATUS artifacts: when: always paths: Loading