From 6ed05222bfc671cc828046e70eff90445a2a2f85 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 3 Apr 2026 16:08:50 +1000 Subject: [PATCH] new --- .drone.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 66d03ea..d0dcaf3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,9 +10,11 @@ steps: - pip install pytest pytest-asyncio - pytest tests/ -v || true - - name: deploy - image: docker:cli - network_mode: host + - name: build-and-deploy + image: docker:latest + volumes: + - name: docker-socket + path: /var/run commands: - docker build -t gptchat:latest . - docker stop gptchat || true @@ -22,4 +24,8 @@ steps: branch: - main event: - - push \ No newline at end of file + - push +volumes: + - name: docker-socket + host: + path: /var/run/docker.sock \ No newline at end of file