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