Skip to content
Snippets Groups Projects
Commit 51dc6c99 authored by Guilhem Bonnefille's avatar Guilhem Bonnefille
Browse files

fix: replace `packages` by `scan` command

Since v0.100.0 the `packages` sub command was replaced by `scan`.
https://github.com/anchore/syft/commit/4c20a74d2fc6774b7745b432995d5ff7836b90a0
parent b3c5c543
No related branches found
No related tags found
No related merge requests found
...@@ -136,7 +136,7 @@ mvn-sbom: ...@@ -136,7 +136,7 @@ mvn-sbom:
# initialize Docker auth config # initialize Docker auth config
- !reference [.mvn-jib-scripts] - !reference [.mvn-jib-scripts]
- mkdir -p -m 777 reports - mkdir -p -m 777 reports
- /syft packages $MAVEN_JIB_SNAPSHOT_IMAGE $MAVEN_SBOM_OPTS -o cyclonedx-json=reports/mvn-sbom-${jib_digest}.cyclonedx.json - /syft scan $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 - chmod a+r reports/mvn-sbom-${jib_digest}.cyclonedx.json
artifacts: artifacts:
name: "SBOM for container from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" name: "SBOM for container from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment