main: add --extra-artifacts=manifest

This commit adds support for `--extra-artifacts=manifest`. If
that is given as part of the build an extra artifacts called
`<img-name>.osbuild-manifest.json` will be created in the
output directory.

Closes: https://github.com/osbuild/image-builder-cli/issues/42
This commit is contained in:
Michael Vogt 2025-01-20 12:12:10 +01:00 committed by Simon de Vlieger
parent c4357b3bfa
commit 0580eb1106
5 changed files with 63 additions and 6 deletions

View file

@ -64,6 +64,10 @@ $ sudo image-builder build qcow2 --distro centos-9
this will create a directory `centos-9-qcow2-x86_64` under which the
output is stored.
With the `--extra-artifacts=manifest` an
[osbuild](https://github.com/osbuild/osbuild) manifest will be
placed in the output directory too.
### Blueprints
Blueprints are supported, first create a `config.toml` and put e.g.