feat: with native roots
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-09-08 00:37:34 +02:00
parent 4ce386975c
commit 700d1c12ed
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -20,7 +20,7 @@ pub async fn new_client(registry: impl Into<String>) -> anyhow::Result<FluxRelea
});
let channel = if registry.starts_with("https") {
let tls = ClientTlsConfig::new();
let tls = ClientTlsConfig::new().with_native_roots();
Channel::from_shared(registry)?
.tls_config(tls)?