mirror of
https://github.com/hauler-dev/hauler.git
synced 2026-02-14 18:09:51 +00:00
Add image ref field
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user