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 137ca7e commit 6b5c811
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ fi
mkdir sboms

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

Please sign in to comment.