-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
error checking push permissions when pushing to insecure registry #702
Comments
I hit with the same issue when using docker image by tag latest (updated 13 hours ago). |
Look at |
This is now fixed. thank you for your patience. |
@tejal29 , how did you fixed this issue, could you let us know |
So??? How to fix this sh... ? There is no answer #1179 to |
I was hitting the same issue and that image
|
Just a heads up that the latest kaniko version (v1.7.0 ) seems to be causing this problem for my team: Downgrading to v1.6.0 fixed the problem. |
@tejal29 Internally at Google, I see multiple high-tier GCP users report the same issue with the latest version. Could you find someone to take a look at this? |
I saw some references in the release notes mentioning that some authentication binaries were removed for the slim executor images? Could it be that it was removed across the board? |
i have the same issue now on the pipeline that worked few days ago. |
I'm seeing this as well. And downgrading to |
yes using 1.6.0, solved my issue |
In case it helps, here's a diff of the files in v1.6.0 and 1.7.0, using
It looks like The contents of that file at v1.6.0:
That seems to be caused by the the removal of this line:
...in this change, part of #1780, 3 days ago. I don't know if this is related, but it seems like a possible cause. That flag's behavior is documented here. |
This comment on the other issue seems to indicate that re-adding I'm happy to send a PR to re-add this line, but I'd love to have some test to have more confidence that it is indeed the fix, and to prevent cases like this in the future. |
@imjasonh when do you release this fix? |
Maintainers rolled back the 1.7.0 release to unbreak users, but I have no idea what the plan is for rolling it back forward or for finding or fixing the bug. @tejal29 is there any update on this? |
Hello @ALL.
`before_script: build_job: publish_job: docker_build_dev:
`before_script: build_job: publish_job: docker_build_dev: When using gcr.io/kaniko-project/executor:51734fc3a33e04f113487853d118608ba6ff2b81 the pipeline fails with error : `[32;1mSkipping Git submodules setup[0;m section_end:1652535769:download_artifacts section_end:1652539354:cleanup_file_variables When using gcr.io/kaniko-project/executor:v1.6.0-debug the pipeline fails with error :
Is there something else obvious that I am missing? |
@ed87 |
Having the same error on EKS pushing cross account to ECR. Using the following versions:
Error message
|
Can --insecure and --skip-tls-verify be configured at the same time? What is the impact? |
So how can we solve this problem in the end? |
On my side I decided to use a secured registry because since a long time this issue was troubling my code and the workarounds were too costly to update along the releases... |
I have found the problem and need to set the variable of Gitlab as a non protected variable!!!!! |
Actual behavior
When pushing to an insecure registry, process fails with the message:
Expected behavior
Kaniko builds and pushes Image to registry. Still working at v0.9.0
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: