fix: actually build the builder
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 2023-12-30 22:40:49 +01:00
parent 7daf873e37
commit 877f19aa72
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -31,13 +31,15 @@ impl DaggerMiddleware for SshAgent {
let c = container let c = container
.with_new_file_opts( .with_new_file_opts(
format!("{home}/.ssh/config"), format!("{home}/.ssh/config"),
ContainerWithNewFileOptsBuilder::default().contents( ContainerWithNewFileOptsBuilder::default()
.contents(
r#" r#"
Host * Host *
StrictHostKeyChecking no StrictHostKeyChecking no
UserKnownHostsFile=/dev/null UserKnownHostsFile=/dev/null
"#, "#,
), )
.build()?,
) )
.with_unix_socket(&sock_var, socket) .with_unix_socket(&sock_var, socket)
.with_env_variable("SSH_AUTH_SOCK", &sock_var); .with_env_variable("SSH_AUTH_SOCK", &sock_var);