feat(image): discover SBOM in OCI referrers (#3768)

Co-authored-by: saso <sasoakira6114@gmail.com>
This commit is contained in:
Teppei Fukuda
2023-03-26 08:27:10 +03:00
committed by GitHub
parent 3fa703c034
commit 63ef760c69
19 changed files with 558 additions and 129 deletions

View File

@@ -22,7 +22,7 @@ func Install(ctx context.Context, dir, repo string, quiet, insecure bool) error
}
log.Logger.Infof("Installing the module from %s...", repo)
artifact, err := oci.NewArtifact(repo, mediaType, quiet, insecure)
artifact, err := oci.NewArtifact(repo, mediaType, "", quiet, insecure)
if err != nil {
return xerrors.Errorf("module initialize error: %w", err)
}