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 c0db054 commit ac96593
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ ls -lsah
mkdir sboms

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

Please sign in to comment.