Uploading execution environments to a container registry
As discussed, execution environments are packaged in the container image format to allow more flexibility. This means that we can upload an execution environment to any container registry. In enterprise settings, Ansible Automation Hub is usually used, since it is a tool very similar to Ansible Galaxy that can be installed in the private company network, and it hosts Ansible collections and execution environments. Companies often prefer Ansible Automation Hub, since it integrates a lot of nice features, such as synchronization with Ansible Galaxy. If you have an Ansible Automation Hub available, you can use it to follow the following steps. Otherwise, you can use any other container registry.
I will use quay.io
, but the same steps apply to any other container registry.
Ensure your Podman is properly logged into your container registry of choice. You can use podman login
to perform the login if you are not logged in yet...