feat: with rust service impl
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-11-27 18:11:58 +01:00
parent 85ad929d80
commit 52266599e2
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -305,7 +305,7 @@ impl RustService {
#[async_trait]
impl PullRequestAction for RustService {
async fn execute_pull_request(&self) -> eyre::Result<()> {
let _container = self.build_release().await?;
self.build_test().await?;
Ok(())
}
@ -314,6 +314,12 @@ impl PullRequestAction for RustService {
#[async_trait]
impl MainAction for RustService {
async fn execute_main(&self) -> eyre::Result<()> {
let container = self.build_release().await?;
container
.publish(format!("docker.io/kjuulh/{}", self.bin_name))
.await?;
Ok(())
}
}