Worker/koji-finalize: include osbuild version in image metadata
Include the osbuild version used to build the image, in the image extra metadata attached to the Koji build and image output. Extend `koji.sh` to verify that the version is set and of the expected value. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
dcb66db5e7
commit
f6e0e99391
3 changed files with 13 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ func (impl *KojiFinalizeJobImpl) Run(job worker.Job) error {
|
|||
Arch: buildResult.Arch,
|
||||
BootMode: buildResult.ImageBootMode,
|
||||
OSBuildArtifact: kojiTargetResult.OsbuildArtifact,
|
||||
OSBuildVersion: buildResult.OSBuildVersion,
|
||||
}
|
||||
|
||||
// The image filename is now set in the KojiTargetResultOptions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue