diff --git a/crates/cuddle-ci/src/rust_service.rs b/crates/cuddle-ci/src/rust_service.rs index 73b802f..ed1905b 100644 --- a/crates/cuddle-ci/src/rust_service.rs +++ b/crates/cuddle-ci/src/rust_service.rs @@ -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(()) } }