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 5cbc69c commit 1621644
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ mkdir sboms

# give the output SBOM a traceable name
timestamp=$(date +"%Y-%m-%d_%H-%M-%S")
out_file="sboms/inspector-scan-sbom_$GITHUB_RUN_ID_$timestamp.json"
workflow_id=$GITHUB_RUN_ID
prefix=sboms/inspector-scan-sbom_
out_file="$prefix-$workflow_id-$timestamp.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 1621644

Please sign in to comment.