| title | in-image-builder |
|---|---|
| date | 2022-10-20 00:00:00 +0100 |
| sidebar_position | 25 |
Create a VM image in Image Builder defined in your "packit.yaml" using your Copr builds.
- Be familiar with Red Hat Image Builder:
- Red Hat API token set as
redhat_api_refresh_tokenin~/.config/packit.yaml; the token can be obtained here - Packit config with a
vm_image_buildjob defined
-
Place a config file for packit in the root of your upstream repository.
-
Add a
vm_image_buildjob. -
Submit a request to Red Hat Image Builder:
$ cd my/ustream/project/ $ packit build in-image-builder my-new-fancy-image -
Navigate to the Image Builder web interface to use your image once the build is complete.
As of December 2022, Packit Github app can now submit builds to Red Hat Image
Builder, for more details see the vm_image_build job description.