diff --git a/bin/deploy b/bin/deploy index a183ab2..6650ead 100755 --- a/bin/deploy +++ b/bin/deploy @@ -30,7 +30,7 @@ npm run build || exit 1 if [ "$BUILD" != "1" ]; then echo Deploying with tag $TAG - docker build --no-cache -f deploy/Dockerfile -t dexorder/$PROJECT:latest . || exit 1 + docker buildx build --platform linux/amd64 --no-cache -f deploy/Dockerfile -t dexorder/$PROJECT:latest . || exit 1 docker tag dexorder/$PROJECT:latest dexorder/$PROJECT:$TAG docker tag dexorder/$PROJECT:$TAG $REMOTE/$PROJECT:$TAG docker tag $REMOTE/$PROJECT:$TAG $REMOTE/$PROJECT:latest