New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-credential-ecr-login in builder base #1062
Comments
see #399 (comment) we already have a secret mounted into all build pods that contains the docker |
I already tried with this approach, but i am always getting Error: docker-credential-ecr-login not found in $PATH. Following is my config.json.
Am i doing anything wrong. I was referring https://aws.amazon.com/blogs/compute/authenticating-amazon-ecr-repositories-for-docker-cli-with-credential-helper/ and by which there should be a binary named |
looks like we'll need to mount a Secret for the docker-credential-ecr-login |
docker-credential-ecr-login is not a secret, btw its a binary file, having that the docker will automatically able to authenticate with ecr, without configuring the ecr secrets. Can you direct me if i am wrong ? |
@jstrachan @rajdavies created a pull request to support ecr-login helper in the builder base. Can you please try merging it if you find its good to go.. |
@yahavi many thanks, will take a look! |
@yahavi merged - will have a release with it inside in a few hours, I'll update this issue when its out |
@jstrachan Thanks a lot...Looks like jx-platform and jenkins-x-image are not building. You might need to trigger a manual build for both of them. |
@yahavi its released now! If you do
you should get |
In order to do ecr integration, can we make the builder base to support docker-credential-ecr-login binary.
The text was updated successfully, but these errors were encountered: