Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
015cb6b23a
commit
2a988c33a4
@ -1,3 +1,4 @@
|
||||
use async_trait::async_trait;
|
||||
use dagger_sdk::Container;
|
||||
|
||||
use crate::dagger_middleware::DaggerMiddleware;
|
||||
@ -12,6 +13,7 @@ impl CargoClean {
|
||||
}
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
impl DaggerMiddleware for CargoClean {
|
||||
async fn handle(&self, container: Container) -> eyre::Result<Container> {
|
||||
Ok(container.with_exec(vec!["cargo", "clean"]))
|
||||
|
Loading…
Reference in New Issue
Block a user