-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
tls: failed to verify certificate: x509: certificate signed by unknown authority #3304
Comments
I update dockerfile and fixed the error
|
very strange, it's not success everytime, some times it report |
I am using a custom Dockerfile
In the GitLab CI pipeline I get this error: This is the pipeline stage:
Becuase the certificate doesn't exist in the trust store Kaniko isn't able to pull images from the internet |
I want to run
npm build and /kaniko/executor
command in one pipeline job, so I create a docker image based on kaniko, but it failedActual behavior
error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "https://gitlab-runner-xxxxxxxx.aliyuncs.com/v2//service-platform/sp-web:e55e7476-dev": creating push check transport for gitlab-runner-acr-share-sh-al1-registry.cn-shanghai.cr.aliyuncs.com failed: Get "https://gitlab-runner-xxxxxxxx.aliyuncs.com/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority
To Reproduce
Steps to reproduce the behavior:
create docker image, build kaniko with nodejs20, named
node:20-slim-kaniko-debug
use the image in .gitlab-ci.yml pipeline
The text was updated successfully, but these errors were encountered: