feat: with export
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-02-11 14:16:30 +01:00
parent 999cc9d59f
commit 6a47528f11
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -256,6 +256,8 @@ impl RustService {
.collect::<Vec<_>>(); .collect::<Vec<_>>();
let base = self.run_stage(before_build, base).await?; let base = self.run_stage(before_build, base).await?;
base.export("export.tar").await?;
let binary_build = let binary_build =
base.with_exec(vec!["cargo", "build", "--release", "--bin", &self.bin_name]); base.with_exec(vec!["cargo", "build", "--release", "--bin", &self.bin_name]);