-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Failed to push image,Error:x509: certificate signed by unknown authority #4149
Comments
Typo in |
Also, |
I changed my buildkitd.toml file but it still returns "x509: certificate signed by unknown authority" error
|
I'm having the same problem |
I am also having the same issue. Happy to tip a few coffees for getting this resolved! ☕ On my GitLab CI Runner:
From
In my GitLab CI:
|
As per this comment on On the GitLab CI Runner that BuildKit runs on:
|
The version information is as follows
buildkit v0.12.1
The content of my buildkitd.toml file is as follows
Execute the command as follows
buildctl build --frontend=dockerfile.v0 --local context=. --local dockerfile=. --output type=image,name=local-repository.com/base/myapp,push=true,registry.insecure=true
The error message is as follows
error: failed to solve: failed to push local-repository.com/base/myapp: failed to do request: Head "https://local-repository.com/v2/base/myapp/blobs/sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc": tls: failed to verify certificate: x509: certificate signed by unknown authority
When I configure certificate trust at the operating system level, it is ok, but using the buildkitd.toml file returns the above error.
I wonder if there is something wrong with my configuration file or the command line,my certificate is self-signed
The text was updated successfully, but these errors were encountered: