2026-11-02 18:04:15 -09:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# `buildah`, but `buildah build` builds for linux/arm64: build-arm64.yml runs
|
|
|
|
|
# `just BUILDAH=.../buildah-arm64 build`, so the Justfile stays upstream's.
|
2026-11-03 21:49:48 -09:00
|
|
|
# A no-op on an arm64 runner; on an x86_64 one (runner-x86-linux) the arm64
|
|
|
|
|
# steps run under QEMU user emulation.
|
2026-11-02 18:04:15 -09:00
|
|
|
if [[ ${1:-} == build ]]; then
|
|
|
|
|
shift
|
|
|
|
|
exec buildah build --platform linux/arm64 "$@"
|
|
|
|
|
fi
|
|
|
|
|
exec buildah "$@"
|