This commit is contained in:
@@ -69,11 +69,17 @@ steps:
|
|||||||
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:$IMAGE_TAG"
|
- 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 \
|
--network=host \
|
||||||
-t lila-games/nakama-server:$IMAGE_TAG \
|
-t lila-games/nakama-server:$IMAGE_TAG \
|
||||||
-t lila-games/nakama-server:latest \
|
-t lila-games/nakama-server:latest \
|
||||||
|
--push \
|
||||||
/drone/src
|
/drone/src
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user