Skip to content

Commit f8e8c69

Browse files
sbom scan
1 parent 63f64d9 commit f8e8c69

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ jobs:
309309
fi
310310
311311
sboms_dir=$(mktemp -d)
312-
leeway -v sbom export --with-dependencies --output-dir "$sboms_dir" -Dversion=$VERSION || true
313312
CI= leeway -v sbom export --with-dependencies --output-dir "$sboms_dir" \
314313
-Dversion=$VERSION \
315314
--docker-build-options network=host \
@@ -321,7 +320,15 @@ jobs:
321320
-DimageRepoBase=$IMAGE_REPO_BASE
322321
323322
scans_dir=$(mktemp -d)
324-
leeway -v sbom scan --with-dependencies --output-dir "$scans_dir" -Dversion=$VERSION
323+
CI= leeway -v sbom scan --with-dependencies --output-dir "$scans_dir" \
324+
-Dversion=$VERSION \
325+
--docker-build-options network=host \
326+
--max-concurrent-tasks 1 \
327+
-DlocalAppVersion=$VERSION \
328+
-DpublishToNPM="${PUBLISH_TO_NPM}" \
329+
-DnpmPublishTrigger="${NPM_PUBLISH_TRIGGER}" \
330+
-DpublishToJBMarketplace="${PUBLISH_TO_JBPM}" \
331+
-DimageRepoBase=$IMAGE_REPO_BASE
325332
326333
{
327334
echo "leeway_sboms_dir=$sboms_dir"

0 commit comments

Comments
 (0)