-
[DND-998] Build multi-arch docker images on every trigger (#6852)
发布于
2026-05-25 14:06:47 +00:00 - DND-998: build multi-arch docker images on every trigger
Until now arm64 was only built when is_release=true, so main, branch,
and adhoc builds were amd64-only. Switch the default to multi-arch on
every trigger and let callers opt out with a new build_arm64 input
(default true; forced amd64-only for opik-guardrails-backend, which
has no arm64 image).Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
- Trim arm64-exclusion comment
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
- Fix build_arm64 passthrough so push events build multi-arch
GHA expression engine coerces null and false to 0, so
'inputs.build_arm64 != false' resolved to false on push events (where
the inputs context is empty) — opposite of intent. Branch on
github.event_name instead: force true on push, otherwise honor the
input (workflow_dispatch / workflow_call respect the declared
default: true).Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Co-authored-by: Claude Opus 4.7 (1M context) noreply@anthropic.com
下载附件