This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -26,18 +26,12 @@ steps:
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- 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 for ARM64
|
||||
- echo "🔨 Building Nakama image lila-games/nakama-server:latest"
|
||||
- |
|
||||
docker buildx build \
|
||||
--platform linux/arm64 \
|
||||
--network=host \
|
||||
-t lila-games/nakama-server:latest \
|
||||
--push \
|
||||
/drone/src
|
||||
docker build --network=host \
|
||||
-t lila-games/nakama-server:latest \
|
||||
/drone/src
|
||||
|
||||
# -----------------------------------------------------
|
||||
# 5. Stop old Nakama container
|
||||
|
||||
Reference in New Issue
Block a user