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
fix: Build.Repo and Build.CacheRepo now uses buildRepo() #40
Conversation
I got stung by this as well. A work around is to set the repo in your |
Turns out CacheRepo also needed buildRepo() |
Hi, It seems I can't push anymore on docker hub public repo since this change. I tried with vanilla kaniko and it seems the issue comes from this added registry url prefix. |
Thanks a lot @ymage for bringing it up. The aim for this change was to prefix the registry url in the repo name but looks like a lot of cases are missing here.
There can be other cases which might have missed here. I am inclined towards making a backward incompatible change where user has to mention PLUGIN_EXPAND_REPO to prepend registry url to the repo. |
@hcsaustrup @myers I am going ahead with the backward incompatible change here: #48 |
Fixed assignment of Build.Repo and Build.CacheRepo so it not only contains the specified repo, but also registry by using buildRepo().
This required for pushing images to private repositories.