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
919aa63a77
commit
945ac257a1
3 changed files with 46 additions and 35 deletions
|
|
@ -3,8 +3,8 @@
|
|||
#Syft scan for docker
|
||||
|
||||
for i in packages/*.tar.gz;
|
||||
do filename=${i%.*.tar.gz};
|
||||
do filename=${i%.*.*.*.tar.gz};
|
||||
filename="$(basename -- "$filename")"
|
||||
syft $i -o cyclonedx-json=syft/$filename.docker.sbom.json;
|
||||
done
|
||||
|
||||
${version%.*.*.*.tar.gz}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue