From 441e7d2af134f8348bd17d2aedafd8950f0aa64e Mon Sep 17 00:00:00 2001 From: Caramel Date: Thu, 15 Jun 2023 14:22:58 +0200 Subject: [PATCH] fix docker build --- support/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/support/build.sh b/support/build.sh index 2407317..73e2b56 100755 --- a/support/build.sh +++ b/support/build.sh @@ -24,9 +24,9 @@ VERSION=$(cat ../package.json | grep version | head -1 | awk -F: '{ print $2 }' echo "Building version $VERSION" # Allow host networking for buildx -docker buildx create --append --use --name picsur --driver-opt network=host +docker buildx create --append --name picsur --driver-opt network=host -docker buildx build \ +docker build \ --push \ --network host \ -t "$PACKAGE_URL-stage1:$VERSION" \ @@ -40,6 +40,7 @@ if [ $? -ne 0 ]; then fi docker buildx build \ + --builder picsur \ --platform linux/amd64,linux/arm64 \ --push \ --network host \