diff --git a/.drone.yml b/.drone.yml index 4278ea9..092472b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -69,11 +69,17 @@ steps: commands: - IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt | tr -d '\n') - 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 \ -t lila-games/nakama-server:$IMAGE_TAG \ -t lila-games/nakama-server:latest \ + --push \ /drone/src # -----------------------------------------------------