no buildx and push
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-11-29 21:45:50 +05:30
parent 02de328bcd
commit 18f9eed71d

View File

@@ -26,18 +26,12 @@ steps:
path: /var/run/docker.sock
commands:
- IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt | tr -d '\n')
- echo "🔨 Building Nakama image lila-games/nakama-server:latest"
# Enable buildx
- docker buildx create --use
# Build for ARM64
- echo "🔨 Building Nakama image lila-games/nakama-server:latest"
- |
docker buildx build \
--platform linux/arm64 \
--network=host \
-t lila-games/nakama-server:latest \
--push \
/drone/src
docker build --network=host \
-t lila-games/nakama-server:latest \
/drone/src
# -----------------------------------------------------
# 5. Stop old Nakama container