-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add some way to get the sha256 digest of the image #1158
Comments
if you use https://github.com/docker/buildx with buildkit you can use |
How is the support for running buildx in a docker container in kubernetes. Does it work without docker? Would you accept a PR to save the metadata in |
buildx currently has docker-container and docker daemon driver. direct k8s driver is not currently implemented but would be accepted docker/buildx#22 . For buildctl I'm not against it but as |
I'd like to start the daemon manually, and then have buildx inside a k8s-pod using that, do you know if that is possible with buildx? The |
That's not possible in current buildx. Would need a separate driver. The current driver starts the buildkit container itself as part of the build flow. |
related: #993 |
@AkihiroSuda for #993 we probably would need a special option that cli(or exporter) understands. these requirements seem very specific. |
We are looking into using this instead of kaniko for building our images. Kaniko has
--digest-file
to get the digest of the built image. Is there some way of doing this with buildkit and buildkitctl? It looks like we can try to get the digest from the build-log, but that looks like a hacky solution.The text was updated successfully, but these errors were encountered: