feat: add permissions
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-04-06 22:49:42 +02:00
parent c4e3e5781c
commit 372b7a2526

View File

@@ -45,7 +45,14 @@ impl DaggerMiddleware for DaggerBin {
.file("/bin/dagger");
Ok(container
.with_file("/bin/dagger", dagger_bin)
.with_file_opts(
"/bin/dagger",
dagger_bin,
dagger_sdk::ContainerWithFileOpts {
owner: None,
permissions: Some(0755),
},
)
.with_exec(vec!["/bin/dagger", "version"]))
}
}