fixed docker platforrm selection

This commit is contained in:
tim
2025-11-24 18:04:31 -04:00
parent aeb90f2e0f
commit 519a22847b

View File

@@ -30,7 +30,7 @@ npm run build || exit 1
if [ "$BUILD" != "1" ]; then if [ "$BUILD" != "1" ]; then
echo Deploying with tag $TAG 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:latest dexorder/$PROJECT:$TAG
docker tag dexorder/$PROJECT:$TAG $REMOTE/$PROJECT:$TAG docker tag dexorder/$PROJECT:$TAG $REMOTE/$PROJECT:$TAG
docker tag $REMOTE/$PROJECT:$TAG $REMOTE/$PROJECT:latest docker tag $REMOTE/$PROJECT:$TAG $REMOTE/$PROJECT:latest