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 1621644 commit d1b19c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ mkdir sboms
# give the output SBOM a traceable name
timestamp=$(date +"%Y-%m-%d_%H-%M-%S")
workflow_id=$GITHUB_RUN_ID
prefix=sboms/inspector-scan-sbom_
out_file="$prefix-$workflow_id-$timestamp.json"
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 d1b19c5

Please sign in to comment.