-
Notifications
You must be signed in to change notification settings - Fork 4
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
Replace kaniko with buildkit #503
Replace kaniko with buildkit #503
Conversation
build process is getting stuck at
Working on fixing it |
@arnaualcazar as you already tried buildkit, plase take a look on this PR and fi you get some idea about why its getting stuck, pleas share |
Have you tried running it just using the |
I tested the buildkit with service deployment on a kubernetes cluster: https://github.com/moby/buildkit/blob/master/examples/kubernetes/README.md#deployment--service |
Likely we'll go with rootless job approach |
yes, in local i tried with both k8s and docker |
with docker run abd debug enabled
|
finally wokring with docker, now will make it work with k8s |
Now, its working with k8s, but caching is not working in both cases. |
I am checking with buildkit in slack about how to use repository as cache in it |
cache is working in k8s setup, I will work on making it work on docker |
Signed-off-by: Paolo Di Tommaso <[email protected]>
Signed-off-by: Paolo Di Tommaso <[email protected]>
Almost there, but something with the oci-mediatypes flag. By default it's
it returns
Instead images built via Kaniko it reports
Note |
Command looks correct, tho
|
Maybe the https://github.com/moby/buildkit?tab=readme-ov-file#oci-tarball |
Signed-off-by: Paolo Di Tommaso <[email protected]>
@pditommaso oci mediatype has been added
|
Nice. What about using for |
yes, it is using the config
|
ok |
Signed-off-by: Paolo Di Tommaso <[email protected]>
Signed-off-by: Paolo Di Tommaso <[email protected]>
@pditommaso there was an issue with the annotations, but I have fixed it. Please release and test again |
Nice |
Signed-off-by: Paolo Di Tommaso <[email protected]>
This PR will replace the builder image with Buildkit.
Solves #478 and #287.