gen-manifests: add ostree rhsm option

This commit is contained in:
Sanne Raymaekers 2022-12-08 16:58:40 +01:00 committed by Achilleas Koutsou
parent cb127cd1b0
commit 369f237d89
3 changed files with 5 additions and 1 deletions

View file

@ -53,6 +53,7 @@ type ostreeOptions struct {
Ref string `json:"ref"`
URL string `json:"url"`
Parent string `json:"parent"`
RHSM bool `json:"rhsm"`
}
type crBlueprint struct {
@ -120,6 +121,7 @@ func makeManifestJob(name string, imgType distro.ImageType, cr composeRequest, d
URL: cr.OSTree.URL,
ImageRef: cr.OSTree.Ref,
FetchChecksum: cr.OSTree.Parent,
RHSM: cr.OSTree.RHSM,
}
}