fixed docker platforrm selection
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user