fix: clippy error for image_tag
This commit is contained in:
parent
ca95e3296d
commit
7dd3a8f0f9
2 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,5 @@
|
|||
[hooks]
|
||||
pre-commit = "cargo test"
|
||||
pre-push = "cargo clippy -- -D warnings"
|
||||
pre-commit = "cargo fmt && cargo test && cargo clippy -- -D warnings"
|
||||
|
||||
[logging]
|
||||
verbose = true
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ impl Recipe {
|
|||
debug!("Running in a PR");
|
||||
tags.push(format!("pr-{github_event_number}-{image_version}"));
|
||||
} else if github_ref_name == "live" {
|
||||
tags.push(format!("{image_version}"));
|
||||
tags.push(image_version.to_owned());
|
||||
tags.push(format!("{image_version}-{timestamp}"));
|
||||
tags.push("latest".to_string());
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue