mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
ci: render
Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/1279090575
This commit is contained in:
parent
afcf71cdb5
commit
21dbdaa9c0
1 changed files with 10 additions and 0 deletions
|
|
@ -20,6 +20,16 @@
|
|||
syft go.mod -o cyclonedx-json=syft/${CI_PROJECT_NAME}.sbom.json
|
||||
fi
|
||||
# End of syft-go.sh
|
||||
|
||||
# Begin of syft-docker.sh
|
||||
- |
|
||||
#Syft scan for go
|
||||
for i in packages/*.tar.gz;
|
||||
do filename=${i%.*.tar.gz};
|
||||
filename=${filename##/};
|
||||
syft $i -o cyclonedx-json=$filename.docker.sbom.json;
|
||||
done
|
||||
# End of syft-docker.sh
|
||||
artifacts:
|
||||
expire_in: 1 hour
|
||||
paths:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue