build arm64 image
Some checks failed
continuous-integration/drone/tag Build is failing

This commit is contained in:
2025-11-29 21:18:54 +05:30
parent 1359a75214
commit 8e0475c8a7

View File

@@ -69,11 +69,17 @@ steps:
commands: commands:
- IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt | tr -d '\n') - IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt | tr -d '\n')
- echo "🔨 Building Nakama image lila-games/nakama-server:$IMAGE_TAG" - echo "🔨 Building Nakama image lila-games/nakama-server:$IMAGE_TAG"
# Enable buildx
- docker buildx create --use
# Build for ARM64
- | - |
docker build \ docker buildx build \
--platform linux/arm64 \
--network=host \ --network=host \
-t lila-games/nakama-server:$IMAGE_TAG \ -t lila-games/nakama-server:$IMAGE_TAG \
-t lila-games/nakama-server:latest \ -t lila-games/nakama-server:latest \
--push \
/drone/src /drone/src
# ----------------------------------------------------- # -----------------------------------------------------