Skip to content
Snippets Groups Projects
Commit 4c991ef2 authored by Timothy Stone's avatar Timothy Stone Committed by Pierre Smeyers
Browse files

fix: initialize docker auth config in mvn-sbom job for private registries

parent b166dd79
Branches
Tags
No related merge requests found
......@@ -77,6 +77,8 @@ mvn-sbom:
# force no dependency
dependencies: []
script:
# initialize Docker auth config
- *mvn-jib-scripts
- mkdir -p -m 777 reports
- /syft packages $MAVEN_JIB_SNAPSHOT_IMAGE $MAVEN_SBOM_OPTS -o cyclonedx-json=reports/mvn-sbom-${jib_digest}.cyclonedx.json
- chmod a+r reports/mvn-sbom-${jib_digest}.cyclonedx.json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment