Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
c893dc9005
commit
a900ebae54
@ -327,9 +327,16 @@ impl PullRequestAction for RustService {
|
||||
impl MainAction for RustService {
|
||||
async fn execute_main(&self) -> eyre::Result<()> {
|
||||
let container = self.build_release().await?;
|
||||
let timestamp = std::time::SystemTime::now()
|
||||
.duration_since(std::time::UNIX_EPOCH)
|
||||
.unwrap()
|
||||
.as_secs();
|
||||
|
||||
container
|
||||
.publish(format!("docker.io//{}", self.bin_name))
|
||||
.publish(format!(
|
||||
"docker.io/kasperhermansen/{}:main-{}",
|
||||
self.bin_name, timestamp,
|
||||
))
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user