mirror of
https://github.com/imjasonh/terraform-playground
synced 2026-07-17 22:54:49 +00:00
When no platform is given, inspect the base reference: a multi-arch base index yields a multi-arch build (filtering out attestation/unknown entries), a single-arch base yields one image. Explicit --platform still overrides. Adds build.BasePlatforms with tests + a CLI default-platforms test; documents it. Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| cli.go | ||
| cli_test.go | ||
| defaults.go | ||