fix!: Allow specifying mount type for secrets

This commit is contained in:
Gerald Pinder 2025-07-24 17:11:42 -04:00
parent ef0d731664
commit de76312a38
6 changed files with 99 additions and 51 deletions

View file

@ -59,6 +59,7 @@ impl BuildDriver for BuildahDriver {
"buildah",
"build",
for opts.secrets.args(&temp_dir)?,
if opts.secrets.ssh() => "--ssh",
if !matches!(opts.platform, Platform::Native) => [
"--platform",
opts.platform.to_string(),