Skip to content

Commit

Permalink
Add image ref field
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkelma committed Dec 8, 2021
1 parent fd22f93 commit 49f9e96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/content/image/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func (i *Image) RawConfig() ([]byte, error) {
}

type Image struct {
Ref string
gv1.Image
}

Expand All @@ -44,6 +45,7 @@ func NewImage(ref string, opts ...remote.Option) (*Image, error) {
}

return &Image{
Ref: ref,
Image: img,
}, nil
}

0 comments on commit 49f9e96

Please sign in to comment.