Skip to content

Commit

Permalink
cosalib/kubevirt: add the version=buildID label to the kubevirt ociar…
Browse files Browse the repository at this point in the history
…chive

Downstream RHCOS tooling uses this and it's probably a good idea to have
it anyway.
  • Loading branch information
dustymabe committed May 5, 2023
1 parent 14982ae commit e6e1f4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cosalib/kubevirt.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def write_oci(self, _):
'-chardev', f'file,id=ociarchiveout,path={final_img}',
'-device', 'virtserialport,chardev=ociarchiveout,name=ociarchiveout',
'--', 'podman', 'build', '--disable-compression=false',
'--label', f'version={self.build_id}',
'--tag=oci-archive:/dev/virtio-ports/ociarchiveout', ctxdir])


Expand Down

0 comments on commit e6e1f4c

Please sign in to comment.