From 575d128809a9a7db5df24a5f59f999c9f89c2431 Mon Sep 17 00:00:00 2001 From: Michael Long Date: Mon, 19 Feb 2024 13:12:10 -0500 Subject: [PATCH] modify file upload --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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