buildx no push and use arm64 everywhere
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-11-29 22:10:33 +05:30
parent c5cb1047ae
commit 1e91825808
2 changed files with 5 additions and 11 deletions

View File

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

View File

@@ -25,7 +25,7 @@ RUN mkdir -p build && \
# ----------------------------------------------------- # -----------------------------------------------------
# 2. Build final Nakama image # 2. Build final Nakama image
# ----------------------------------------------------- # -----------------------------------------------------
FROM --platform=linux/arm64 heroiclabs/nakama:3.21.0 AS nakama FROM ashleywangsw/nakama:3.21.0-arm64
# Copy plugin from builder stage # Copy plugin from builder stage
COPY --from=plugin_builder /workspace/build/main.so /nakama/data/modules/main.so COPY --from=plugin_builder /workspace/build/main.so /nakama/data/modules/main.so