Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit 0891287 introduced using the OCIImage class instead of DockerImage for container image analysis. There is a difference in the name and type of the variable that holds the repository tag ('repotags' list for DockerImage vs 'repotag' string for OCIImage) which is causing the CycloneDX format to break. This was not caught prior to the release because there are no tests for the CycloneDX format in the ci test file. This commit resolves the CycloneDX format bug by using the repository tag variable name depending on image type and also adds an appropriate test in the ci test file to try to avoid this issue in the future. Resolves tern-tools#1097 Signed-off-by: Rose Judge <rjudge@vmware.com>
- Loading branch information