diff --git a/pr_check.sh b/pr_check.sh index e163655c..1566967f 100755 --- a/pr_check.sh +++ b/pr_check.sh @@ -14,7 +14,8 @@ docker rm -f $CONTAINER_NAME-run # This confused me for a while because pr_check_inner.sh is also copied into the pr check container at build time # but the template_check.sh isn't. I couldn't figure out how it was sourcing it -docker build -t $CONTAINER_NAME -f build/Dockerfile.pr . +docker buildx build --platform linux/amd64,linux/arm64 -t $CONTAINER_NAME -f build/Dockerfile.pr . +docker buildx build --load -t -t $CONTAINER_NAME -f build/Dockerfile.pr . docker run -i --name $CONTAINER_NAME-run -v $PWD:/workspace:ro $CONTAINER_NAME /workspace/build/pr_check_inner.sh