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

This commit is contained in:
2025-11-29 21:59:49 +05:30
parent 18f9eed71d
commit c5cb1047ae

View File

@@ -28,10 +28,16 @@ steps:
- 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 + Push (no need for second push stage)
- |
docker build --network=host \
-t lila-games/nakama-server:latest \
/drone/src
docker buildx build \
--platform linux/arm64 \
--network=host \
-t lila-games/nakama-server:latest \
/drone/src
# -----------------------------------------------------
# 5. Stop old Nakama container