Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
CaramelFur committed Jun 15, 2023
1 parent 5195f1f commit 441e7d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions support/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand All @@ -40,6 +40,7 @@ if [ $? -ne 0 ]; then
fi

docker buildx build \
--builder picsur \
--platform linux/amd64,linux/arm64 \
--push \
--network host \
Expand Down

0 comments on commit 441e7d2

Please sign in to comment.