Skip to content
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

can't add CA cert for gha remotecache? #4911

Open
dnwe opened this issue May 10, 2024 · 0 comments
Open

can't add CA cert for gha remotecache? #4911

dnwe opened this issue May 10, 2024 · 0 comments

Comments

@dnwe
Copy link

dnwe commented May 10, 2024

Probably a bit of a niche usecase, but unlike type=registry, it doesn't appear to be possible to pass additional root CAs when using a cache-from/cache-to of type=gha — for example when running the buildkit action against an on-prem GitHub Enterprise Server that has a certificate issued by an internal root CA

Using the registry config in buildkitd.toml does correctly copy the certs into the builder to /etc/buildkit/certs/example.com/ca-certificates.crt, but these aren't used on the gha remotecache codepaths. Ideally they would also apply if the hostname matches or else it would useful if the copied certs were added to the main /etc/ssl/certs via update-ca-certificates in the container so they applied generally to any Go-based tls performed by buildkit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant