I am trying to use a private docker image when defining the services. This will be important for integration testing. However, the “services” configuration does not seem to be using the private docker repository we have configured. The private repo works for the “pipeline”. How do I include private images in my services configuration?
However, the “services” configuration does not seem to be using the private docker repository we have configured.
I can confirm that pipeline and service images have access to the registry credentials, when properly configured. The registry credentials are used to pull an image if the image hostname matches the registry hostname [1]. If credentials are not being used, it would tell me they do not match or there is some other configuration issue.
I would need to see the exact yaml and exact result of drone registry ls <repo>
to further advise.
[1] https://github.com/cncd/pipeline/blob/master/pipeline/frontend/yaml/compiler/image_test.go#L197-L244