1
0
mirror of https://github.com/ko-build/ko.git synced 2025-02-13 19:42:26 +02:00

Add a delimiter before digest in the SPDX namespace (#765)

This commit is contained in:
Matt Moore 2022-07-15 11:09:28 -07:00 committed by GitHub
parent dcae0e70d0
commit 3d362cf670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -354,7 +354,7 @@ func starterDocument(koVersion string, date time.Time, d v1.Hash) (Document, str
},
DataLicense: "CC0-1.0",
Name: "sbom-" + d.String(),
Namespace: "http://spdx.org/spdxdocs/ko" + d.String(),
Namespace: "http://spdx.org/spdxdocs/ko/" + d.String(),
DocumentDescribes: []string{digestID},
}, digestID
}