Chapter 6. Populating your private automation hub container registry
By default, private automation hub does not include automation execution environments. To populate your container registry, you must push an execution environment to it.
6.1. Uploading the custom execution environment to the private hub Copy linkLink copied to clipboard!
Before the new execution environment image can be used for automation jobs, it must be uploaded to the private automation hub.
Procedure
First, verify that the execution environment image can be seen in the local podman cache:
podman images --format "table {{.ID}} {{.Repository}} {{.Tag}}" IMAGE ID REPOSITORY TAG b38e3299a65e private-hub.example.com/custom-ee latest 8e38be53b486 private-hub.example.com/ee-minimal-rhel8 latest$ podman images --format "table {{.ID}} {{.Repository}} {{.Tag}}" IMAGE ID REPOSITORY TAG b38e3299a65e private-hub.example.com/custom-ee latest 8e38be53b486 private-hub.example.com/ee-minimal-rhel8 latestCopy to Clipboard Copied! Toggle word wrap Toggle overflow Then log in to the private automation hub’s container registry and push the image to make it available for use with job templates and workflows:
podman login private-hub.example.com -u admin Password: Login Succeeded! podman push private-hub.example.com/custom-ee:latest
$ podman login private-hub.example.com -u admin Password: Login Succeeded! $ podman push private-hub.example.com/custom-ee:latestCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Use the following workflow to populate your private automation hub remote registry:
- Pull execution environments for use in automation hub
- Tag execution environment for use in automation hub
- Push an execution environment to private automation hub
- Set up your container repository
- Add a README to your container repository
- Provide access to your automation execution environmentss
- Tag container images
- Create a credential
- Pulling images from a container repository
- Pull an image
- Sync images from a container repository