-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
skaffold with kaniko permission failure on aws ecr #1719
Comments
I ran to this issue myself, kaniko pod is actually succeeding and pushing to ECR. But your local docker is not able to get image digest from ECR, can you check that your local dockerconfig has access to ECR? |
exactly that was the issue, thanks @azaiter. I don't even need to have docker running, it's just that an I guess it's needed for skaffold to get the latest hash? |
It's just what kaniko runner returns based on the image tag, it just happens to use local docker (library?) for that. |
Thx. Apparantly it doesn't even need local docker, just the registry login details |
When using skaffold with kaniko on aws ecr I'm getting a
401
after the push to the repo is finished.Expected behavior
skaffold should continue after pushing to the ecr repo
Actual behavior
after successfully pushing to ecr skaffold exits with an error
I have kaniko setup up to build with gitlab-ci on the same ec2 nodes and it works fine, the kaniko configuration also looks the same. I'm not sure what skaffold (or kaniko?) wants from the repo, even with
ecr:*
I'm getting the 401. Clearly the push works fine, because the image ends up in ecr.Information
Steps to reproduce the behavior
I've also tried with
ecr:*
, no differencecontents of
config.json
:skaffold dev
related #731
The text was updated successfully, but these errors were encountered: