-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[Reappeared] Build and push to an insecure registry completes unsuccessfully #2986
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
Comments
Hi @NicklasWallgren just making sure first - are you using |
@NicklasWallgren you are using Jib, right? |
@NicklasWallgren Can you try without artifact caching? It was activated by default in 0.36.0, I think. Something like If that works, I think it's because you now have to configure skaffold to handle insecure registries too. See https://skaffold.dev/docs/concepts/image_repositories/#insecure-image-registries. Before 0.36.0, Skaffold would let Jib tag the images. Now, because of caching, Skaffold can sometimes retag images and it then requires to know that the registry is insecure. |
Maybe Skaffold could read the list of insecure registries from |
I'm not using I'll provide additional information tomorrow. |
@dgageot Worked fine without artifact caching enabled |
@NicklasWallgren Thanks! So there must be an issue. Do you have a small project we could use to reproduce? |
Hmm, it works as expected if I remove |
Called from skaffold/pkg/skaffold/docker/remote.go Line 48 in 6236f7f
|
Possible solution. What do you think?
|
Expected behavior
A Skaffold driven build should complete successfully even if the image is pushed to an insecure registry.
Actual behavior
Skaffold errors on building/pushing the new image.
Works as expected in v0.35.0.
See #1732 for more information.
The text was updated successfully, but these errors were encountered: