Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
85ad929d80
commit
52266599e2
@ -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(())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user