diff --git a/crates/cuddle-ci/src/rust_service/ssh_agent.rs b/crates/cuddle-ci/src/rust_service/ssh_agent.rs index 4d66b1c..dd4bc93 100644 --- a/crates/cuddle-ci/src/rust_service/ssh_agent.rs +++ b/crates/cuddle-ci/src/rust_service/ssh_agent.rs @@ -20,7 +20,9 @@ impl SshAgent { #[async_trait] impl DaggerMiddleware for SshAgent { async fn handle(&self, container: Container) -> eyre::Result { - let c = container.with_unix_socket("/tmp/ssh_socket", self.socket.clone()); + let c = container + .with_unix_socket("/tmp/ssh_socket", self.socket.clone()) + .with_env_variable("SSH_AUTH_SOCK", "/tmp/ssh_socket"); Ok(c) }