Skip to content
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

build failed: kaniko:executor latest doesn't work #136

Open
dcaud opened this issue Oct 21, 2021 · 6 comments
Open

build failed: kaniko:executor latest doesn't work #136

dcaud opened this issue Oct 21, 2021 · 6 comments
Labels
bug Something isn't working
Milestone

Comments

@dcaud
Copy link

dcaud commented Oct 21, 2021

My cr_deploy_plumber was working, but now there's an auth error.

Changing from:

gcr.io/kaniko-project/executor:latest

to

gcr.io/kaniko-project/executor:v1.6.0

using trace(googleCloudRunner::cr_buildstep_docker, edit=TRUE)
resolved the problem

I presume this is a bug with google, so it isn't likely needed for a permant fix

See GoogleContainerTools/kaniko#1791

@simitpatel
Copy link

thank you @dcaud ! this error gave me great grief, started half-wondering if i needed to re-architect my whole process because of this....thank you so much for the fix!

@MarkEdmondson1234
Copy link
Owner

Thanks, yes looks like a bug that will be fixed, but fixing the version as you did to to :v1.6.0 is part of why Docker is handy. I feel I have to leave it on :latest within the package and rely on reports like this though, else I'd need some constant monitoring of images.

@MarkEdmondson1234
Copy link
Owner

One note on fixing it, the cr_deploy_*() functions are all higher order that wrap cr_buildstep() so you could also examine the cloud build yaml created and modify that directly.

@MarkEdmondson1234
Copy link
Owner

I"m guessing this was temporary and it fixed itself?

@MarkEdmondson1234 MarkEdmondson1234 added the bug Something isn't working label Nov 15, 2021
@MarkEdmondson1234 MarkEdmondson1234 changed the title build failed: executor latest doesn't work build failed: kaniko:executor latest doesn't work Nov 30, 2021
@MarkEdmondson1234
Copy link
Owner

Its not fixed, still an issue - changing to this version solves it though
GoogleContainerTools/kaniko#1604

gcr.io/kaniko-project/executor:v1.6.0-debug

It seems to only affect if you push to a different project than the CLoud Build is executing in?

@MarkEdmondson1234
Copy link
Owner

I guess the fix is in v1.7.0 but there is a bug where its pulling 1.6.0 instead? GoogleContainerTools/kaniko#1822

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants