Skip to content

Commit 63f64d9

Browse files
sbom export
1 parent ae4bb29 commit 63f64d9

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,10 +309,19 @@ jobs:
309309
fi
310310
311311
sboms_dir=$(mktemp -d)
312-
leeway -v sbom export --with-dependencies --output-dir "$sboms_dir -Dversion=$VERSION"
312+
leeway -v sbom export --with-dependencies --output-dir "$sboms_dir" -Dversion=$VERSION || true
313+
CI= leeway -v sbom export --with-dependencies --output-dir "$sboms_dir" \
314+
-Dversion=$VERSION \
315+
--docker-build-options network=host \
316+
--max-concurrent-tasks 1 \
317+
-DlocalAppVersion=$VERSION \
318+
-DpublishToNPM="${PUBLISH_TO_NPM}" \
319+
-DnpmPublishTrigger="${NPM_PUBLISH_TRIGGER}" \
320+
-DpublishToJBMarketplace="${PUBLISH_TO_JBPM}" \
321+
-DimageRepoBase=$IMAGE_REPO_BASE
313322
314323
scans_dir=$(mktemp -d)
315-
leeway -v sbom scan --with-dependencies --output-dir "$scans_dir -Dversion=$VERSION"
324+
leeway -v sbom scan --with-dependencies --output-dir "$scans_dir" -Dversion=$VERSION
316325
317326
{
318327
echo "leeway_sboms_dir=$sboms_dir"

0 commit comments

Comments
 (0)