Hi,
I used ansible-builder to create a custom execution environment image.
This docker image is hosted on an on-premise Gitlab registry.
I created a “Container Registry” credential in AWX, and created a new “Execution Environment” and linked it to this credential.
When running a template that is set to use this EE, the job pod remains in the ImagePullBackOff state.
Pod logs:
Pulling image “git.masked:4567/gregory/awx-ee:test”
Failed to pull image “git.masked:4567/gregory/awx-ee:test”: rpc error: code = Unknown desc = Error response from daemon: Head https://git.masked:4567/v2/gregory/awx-ee/manifests/test: denied: access forbidden
When I try to manually login and pull the image, this works fine:
docker login -u gitlab+deploy-token-67 -p xxx https://git.masked:4567/gregory/awx-ee
Login Succeeded
docker pull git.masked:4567/gregory/awx-ee:test
test: Pulling from gregory/awx-ee
…
What am I missing here?