Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
8788f78f81
commit
7a1f04a071
@ -80,10 +80,16 @@ impl MainAction for CuddleReleaser {
|
||||
|
||||
let folder = client.host().directory(&self.folder);
|
||||
|
||||
let ssh_sock = std::env::var("SSH_AUTH_SOCK").context("SSH_AUTH_SOCK not set")?;
|
||||
|
||||
let cuddle_releaser = client
|
||||
.container()
|
||||
.from(cuddle_releaser_image)
|
||||
.with_mounted_directory("/mnt/templates", folder);
|
||||
.with_mounted_directory("/mnt/templates", folder)
|
||||
.with_unix_socket(
|
||||
ssh_sock.clone(),
|
||||
client.host().unix_socket(ssh_sock.clone()),
|
||||
);
|
||||
|
||||
cuddle_releaser
|
||||
.with_exec(vec![
|
||||
|
Loading…
Reference in New Issue
Block a user