From 890e982ad0e801ce72decc7a42cafbcabc342730 Mon Sep 17 00:00:00 2001 From: Adam Drew Date: Mon, 6 Nov 2023 14:09:14 -0500 Subject: [PATCH 1/2] Test --- pr_check.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pr_check.sh b/pr_check.sh index c402ce6e..a7dd5e94 100755 --- a/pr_check.sh +++ b/pr_check.sh @@ -14,6 +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 buildx ls +docker buildx inspect --bootstrap docker buildx use multiarchbuilder docker buildx build --platform linux/amd64,linux/arm64 -t $CONTAINER_NAME -f build/Dockerfile.pr . docker buildx build --load -t $CONTAINER_NAME -f build/Dockerfile.pr . From 40243e97ea745095347e0548b915afd06383c475 Mon Sep 17 00:00:00 2001 From: Adam Drew Date: Mon, 6 Nov 2023 14:13:42 -0500 Subject: [PATCH 2/2] test --- pr_check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pr_check.sh b/pr_check.sh index a7dd5e94..0b149c49 100755 --- a/pr_check.sh +++ b/pr_check.sh @@ -14,9 +14,9 @@ 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 buildx ls +docker buildx create --name mybuilder --use --driver docker-container docker buildx inspect --bootstrap -docker buildx use multiarchbuilder +docker buildx ls docker buildx build --platform linux/amd64,linux/arm64 -t $CONTAINER_NAME -f build/Dockerfile.pr . docker buildx build --load -t $CONTAINER_NAME -f build/Dockerfile.pr .