chore: Simplify opts using new ImageRef type
This commit is contained in:
parent
0896907c0b
commit
00806b02e1
7 changed files with 153 additions and 78 deletions
|
|
@ -339,7 +339,7 @@ impl BuildCommand {
|
|||
BuildTagPushOpts::builder()
|
||||
.containerfile(containerfile)
|
||||
.platform(self.platform)
|
||||
.archive_path(PathBuf::from(format!(
|
||||
.image(PathBuf::from(format!(
|
||||
"{}/{}.{ARCHIVE_SUFFIX}",
|
||||
archive_dir.to_string_lossy().trim_end_matches('/'),
|
||||
recipe.name.to_lowercase().replace('/', "_"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue