-
Notifications
You must be signed in to change notification settings - Fork 337
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
Gitlab CI & Kaniko build error getting credentials from ECR #270
Comments
@jordan85 I'm getting the same issue as you have reported.. did you manage to fix this or know what could be causing this?. |
If you are using multiple stages in your Dockerfile, Kaniko will remove your /root/.aws directory between each stage by default. Adding |
Appending
|
It works for me! I failed to push my multi-stage build image to ECR repository. I'm using IRSA, so I ignored the path where WEB_IDENTITY_TOKEN placed and It worked. |
Hello everybody,
I try to push to ECR my CI building with Kaniko but I have the following problem :
Screen error :
~/.ecr/log/ecr-login.log :
In my build environment my ~/.aws/credentials is ok and /kaniko/.docker/config.json is also ok ; during ci deployment I check file integrity with :
I have the impression that my credentials are not consumed.
With the same account API AWS I can push docker image from my laptop, permissions in IAM are not a problem.
Do you have an idea?
Thanks and have a good day,
Jordan
The text was updated successfully, but these errors were encountered: