Files
buildkit/hack/cross
CrazyMax ec65f412b6 Use gha cache on CI
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-05 10:51:48 +02:00

18 lines
338 B
Bash
Executable File

#!/usr/bin/env bash
. $(dirname $0)/util
set -e
: ${PLATFORMS=linux/arm}
if [ -n "$RUNC_PLATFORMS" ]; then
buildxCmd build $cacheFromFlags $cacheToFlags \
--target "binaries-linux-helper" \
--platform "$RUNC_PLATFORMS" \
$currentcontext
fi
buildxCmd build $cacheFromFlags \
--platform "$PLATFORMS" \
$currentcontext