Add image ref field

This commit is contained in:
Matt Nikkel
2021-12-08 14:35:14 -05:00
parent fd22f93348
commit 49f9e96576

View File

@@ -24,6 +24,7 @@ func (i *Image) RawConfig() ([]byte, error) {
}
type Image struct {
Ref string
gv1.Image
}
@@ -44,6 +45,7 @@ func NewImage(ref string, opts ...remote.Option) (*Image, error) {
}
return &Image{
Ref: ref,
Image: img,
}, nil
}