fixes
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
2025-11-29 18:50:57 +05:30
parent 5662d22481
commit 18d43f9481

View File

@@ -64,8 +64,12 @@ steps:
- name: build-image - name: build-image
image: docker:24 image: docker:24
environment: environment:
API_BASE_URL: WS_HOST:
from_secret: API_BASE_URL from_secret: WS_HOST
WS_PORT:
from_secret: WS_PORT
WS_SKEY:
from_secret: WS_SKEY
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run/docker.sock path: /var/run/docker.sock
@@ -75,9 +79,9 @@ steps:
- echo "🔨 Building Docker image lila-games/tic-tac-toe-ui:$IMAGE_TAG ..." - echo "🔨 Building Docker image lila-games/tic-tac-toe-ui:$IMAGE_TAG ..."
- | - |
docker build --network=host \ docker build --network=host \
--build-arg VITE_WS_HOST="$API_BASE_URL" \ --build-arg VITE_WS_HOST="$WS_HOST" \
--build-arg VITE_WS_PORT="$API_BASE_URL" \ --build-arg VITE_WS_PORT="$WS_PORT" \
--build-arg VITE_WS_SKEY="$API_BASE_URL" \ --build-arg VITE_WS_SKEY="$WS_SKEY" \
-t lila-games/tic-tac-toe-ui:$IMAGE_TAG \ -t lila-games/tic-tac-toe-ui:$IMAGE_TAG \
-t lila-games/tic-tac-toe-ui:latest \ -t lila-games/tic-tac-toe-ui:latest \
/drone/src /drone/src