Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8e0475c8a7 | |||
| 1359a75214 |
@@ -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
|
||||
|
||||
# -----------------------------------------------------
|
||||
|
||||
@@ -31,4 +31,4 @@ FROM heroiclabs/nakama:3.21.0 AS nakama
|
||||
COPY --from=plugin_builder /workspace/build/main.so /nakama/data/modules/main.so
|
||||
|
||||
# Default Nakama startup (runs migrations + server)
|
||||
ENTRYPOINT exec /bin/sh -ecx "/nakama/nakama migrate up --database.address \"$DB_ADDR\" && exec /nakama/nakama --database.address \"$DB_ADDR\" --socket.server_key=\"$SERVER_KEY\""
|
||||
ENTRYPOINT exec /bin/sh -ecx "/nakama/nakama migrate up --database.address \"$DB_ADDR\" && exec /nakama/nakama --database.address \"$DB_ADDR\" --socket.server_key=\"$SERVER_KEY\" --http.cors=allow_origin:https://games.aetoskia.com"
|
||||
|
||||
Reference in New Issue
Block a user