diff --git a/entrypoint.sh b/entrypoint.sh index 7c4e927..e9efe3b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -33,11 +33,11 @@ ls -lsah mkdir sboms # give the output SBOM a traceable name -out_file="sboms/inspector-scan-sbom_" +out_file=sboms/inspector-scan-sbom_ out_file+="$GITHUB_RUN_ID" -out_file+="_" +out_file+=_ out_file+=$(date +"%Y-%m-%d_%H-%M-%S") -out_file+=".json" +out_file+=.json echo "Out file $out_file" $sbomgen $artifact_type $artifact_path_arg $artifact_path $prog --scan-sbom -o $out_file