Skip to content

Commit 42442c8

Browse files
committed
Set the component name in the SBOM
Signed-off-by: Luiz Carvalho <[email protected]>
1 parent 9a23764 commit 42442c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rhtap/buildah-rhtap.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ function build() {
6161
function generate-sboms() {
6262
echo "Running $TASK_NAME:generate-sboms"
6363
syft dir:. --output [email protected]=$TEMP_DIR/files/sbom-source.json
64-
syft oci-dir:$TEMP_DIR/files/image --output [email protected]=$TEMP_DIR/files/sbom-image.json
64+
syft oci-dir:$TEMP_DIR/files/image --output [email protected]=$TEMP_DIR/files/sbom-image.json \
65+
--source-name "${IMAGE}"
6566
}
6667

6768
function upload-sbom() {

0 commit comments

Comments
 (0)