Skip to content

Commit 22fed4d

Browse files
mxgreen29dolfinus
authored andcommitted
[DOP-35061] ADD SCA pipeline
1 parent 46d2e14 commit 22fed4d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ sbom-creation:
1616
name: ${SBOM_IMAGE}
1717
entrypoint: ['']
1818
script:
19-
- npm install
20-
- npx @cyclonedx/cyclonedx-npm --ignore-npm-errors --output-file sbom.cyclonedx.json --omit=dev
19+
- yarn config set npmRegistryServer $NPM_REGISTRY
20+
- yarn dlx @cyclonedx/yarn-plugin-cyclonedx --output-file sbom.cyclonedx.json
2121
artifacts:
2222
paths:
2323
- sbom.cyclonedx.json

0 commit comments

Comments
 (0)