diff --git a/entrypoint.sh b/entrypoint.sh index 24fb586..7c4e927 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -33,12 +33,10 @@ ls -lsah mkdir sboms # give the output SBOM a traceable name -timestamp=$(date +"%Y-%m-%d_%H-%M-%S") -workflowid=$GITHUB_RUN_ID out_file="sboms/inspector-scan-sbom_" -out_file+="$workflowid" +out_file+="$GITHUB_RUN_ID" out_file+="_" -out_file+="$timestamp" +out_file+=$(date +"%Y-%m-%d_%H-%M-%S") out_file+=".json" echo "Out file $out_file"