Skip to content

Commit

Permalink
oci-copy produced SBOM has a better name
Browse files Browse the repository at this point in the history
Changes name to be `registry/repository@digest`of the pushed image.

JIRA: ISV-5323

Signed-off-by: Jan Koscielniak <jakoscie@redhat.com>
  • Loading branch information
kosciCZ authored and MartinBasti committed Dec 16, 2024
1 parent aa56da2 commit e9578e4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions task/oci-copy-oci-ta/0.1/oci-copy-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,12 @@ spec:
"specVersion": "1.5",
"version": 1,
"components": []
"metadata": {
"component": {
"type": "file",
"name": "${IMAGE%:*}@$(cat "$(results.IMAGE_DIGEST.path)")"
}
}
}
EOL
Expand Down
6 changes: 6 additions & 0 deletions task/oci-copy/0.1/oci-copy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,12 @@ spec:
"specVersion": "1.5",
"version": 1,
"components": []
"metadata": {
"component": {
"type": "file",
"name": "${IMAGE%:*}@$(cat "$(results.IMAGE_DIGEST.path)")"
}
}
}
EOL
Expand Down

0 comments on commit e9578e4

Please sign in to comment.