diff --git a/entrypoint.sh b/entrypoint.sh index 343fa7d..7ceb04d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -37,7 +37,8 @@ prefix="sboms/inspector-scan-sbom_" #out_file+=echo $GITHUB_RUN_ID #out_file+="_" dtg=$(date +"%Y-%m-%d_%H-%M-%S") -out_file=$prefix$dtg.json +job=$(echo $GITHUB_RUN_ID) +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