buildx no push and use
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
12
.drone.yml
12
.drone.yml
@@ -28,10 +28,16 @@ steps:
|
||||
- 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 + Push (no need for second push stage)
|
||||
- |
|
||||
docker build --network=host \
|
||||
-t lila-games/nakama-server:latest \
|
||||
/drone/src
|
||||
docker buildx build \
|
||||
--platform linux/arm64 \
|
||||
--network=host \
|
||||
-t lila-games/nakama-server:latest \
|
||||
/drone/src
|
||||
|
||||
# -----------------------------------------------------
|
||||
# 5. Stop old Nakama container
|
||||
|
||||
Reference in New Issue
Block a user