From 6b5c81175d0e9ab475e81e2c931f8c9940780ed0 Mon Sep 17 00:00:00 2001 From: Michael Long Date: Mon, 19 Feb 2024 13:17:51 -0500 Subject: [PATCH] modify file upload --- entrypoint.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 5819151..06801e8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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