diff --git a/crates/cuddle-ci/src/rust_service/ssh_agent.rs b/crates/cuddle-ci/src/rust_service/ssh_agent.rs index e20c7ad..bf2daf6 100644 --- a/crates/cuddle-ci/src/rust_service/ssh_agent.rs +++ b/crates/cuddle-ci/src/rust_service/ssh_agent.rs @@ -31,13 +31,15 @@ impl DaggerMiddleware for SshAgent { let c = container .with_new_file_opts( format!("{home}/.ssh/config"), - ContainerWithNewFileOptsBuilder::default().contents( - r#" + ContainerWithNewFileOptsBuilder::default() + .contents( + r#" Host * StrictHostKeyChecking no UserKnownHostsFile=/dev/null "#, - ), + ) + .build()?, ) .with_unix_socket(&sock_var, socket) .with_env_variable("SSH_AUTH_SOCK", &sock_var);