feat: push attestation artifacts by digest

This commit is contained in:
mrjoelkamp
2024-08-07 15:12:50 -05:00
parent 8767951fa2
commit 9aa56e564d
3 changed files with 43 additions and 11 deletions

View File

@@ -249,7 +249,7 @@ func (manifest *Manifest) BuildReferringArtifacts() ([]v1.Image, error) {
return images, nil
}
// build and image containing only layers.
// build an image containing only layers.
func buildImage(layers []*Layer, manifest *v1.Descriptor, subject *v1.Descriptor, opts *ManifestImageOptions) (v1.Image, error) {
newImg := empty.Image
var err error