container: add ListDigest to the spec
Add the ListDigest to the container Spec struct and all its copies so we can store list digests when they are available and pass them on to the appropriate osbuild stages, sources, and inputs. Copy the value whenever a spec is moved to a different representation.
This commit is contained in:
parent
c95072d686
commit
a7dd8ff94f
5 changed files with 17 additions and 12 deletions
|
|
@ -253,8 +253,9 @@ type ContainerSpec struct {
|
|||
Name string `json:"name"`
|
||||
TLSVerify *bool `json:"tls-verify,omitempty"`
|
||||
|
||||
ImageID string `json:"image_id"`
|
||||
Digest string `json:"digest"`
|
||||
ImageID string `json:"image_id"`
|
||||
Digest string `json:"digest"`
|
||||
ListDigest string `json:"list-digest,omitempty"`
|
||||
}
|
||||
|
||||
type ContainerResolveJob struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue