Skip to content

Commit a9c57b2

Browse files
committed
sbom detection 2
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
1 parent 7da2e49 commit a9c57b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ detect_sbom_format() {
9494
fi
9595

9696
# Check if it's SPDX format
97-
if jq -e '.spdxVersion // .SPDXID' "$sbom_file" > /dev/null 2>&1; then
97+
if jq -e '.spdxVersion // .SPDXID // .sbom.spdxVersion // .sbom.SPDXID' "$sbom_file" > /dev/null 2>&1; then
9898
echo "spdx"
9999
return
100100
fi

0 commit comments

Comments
 (0)