mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
update
This commit is contained in:
parent
1f055dd76b
commit
efa01db1ff
2 changed files with 5 additions and 1 deletions
|
|
@ -35,6 +35,10 @@ sonarqube:
|
|||
generate_sbom:
|
||||
extends: .generate_sbom
|
||||
stage: validate
|
||||
needs:
|
||||
- job: docker-build
|
||||
optional: true
|
||||
artifacts: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' || $CI_MERGE_REQUEST_IID
|
||||
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@
|
|||
for i in syft/*.sbom.json;
|
||||
do filename=${i%*.sbom.json};
|
||||
filename=${filename##/};
|
||||
grype syft/$i -o json --file syft/$filename.cve.json;
|
||||
grype $i -o json --file $filename.cve.json;
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue