Add registry authentication to prepare for image building
After you have updated the blueprint, you must add authentication for the container registries to build the image with embedded MicroShift containers. To do this, update one of the systemd service files that are part of the image builder configuration.
-
You have root-user access to your build host.
-
Your build host meets the image builder system requirements.
-
You have installed and set up image builder and the
composer-clitool.
-
Create an
/etc/osbuild-worker/osbuild-worker.tomldirectory and configuration file if they do not exist. -
Add a pull secret for authenticating to the registry by setting the
auth_file_pathin the[containers]section of the/etc/osbuild-worker/osbuild-worker.tomlconfiguration file:[containers] auth_file_path = "/etc/osbuild-worker/pull-secret.json" -
Restart the host to apply configuration changes.