chore: Simplify opts using new ImageRef type

This commit is contained in:
Gerald Pinder 2025-05-09 15:53:59 -04:00
parent 0896907c0b
commit 00806b02e1
7 changed files with 153 additions and 78 deletions

View file

@ -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('/', "_"),