Skip to content

Commit

Permalink
modify file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Long committed Feb 19, 2024
1 parent 99a0fb5 commit 90a8637
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ mkdir sboms
# give the output SBOM a traceable name
timestamp=$(date +"%Y-%m-%d_%H-%M-%S")
workflowid=$GITHUB_RUN_ID
out_file="sboms/inspector-scan-sbom_$workflowid_$timestamp.json"
out_file="sboms/inspector-scan-sbom_"
out_file+=$workflowid
out_file+=_
out_file+=$timestamp
out_file+=.json
echo "Out file $out_file"

$sbomgen $artifact_type $artifact_path_arg $artifact_path $prog --scan-sbom -o $out_file
Expand Down

0 comments on commit 90a8637

Please sign in to comment.