fix: actually build the builder
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
7daf873e37
commit
877f19aa72
@ -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()
|
||||||
r#"
|
.contents(
|
||||||
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user