This commit is contained in:
2026-04-03 16:08:50 +10:00
parent 1ab9f1858f
commit 6ed05222bf

View File

@@ -10,9 +10,11 @@ steps:
- pip install pytest pytest-asyncio - pip install pytest pytest-asyncio
- pytest tests/ -v || true - pytest tests/ -v || true
- name: deploy - name: build-and-deploy
image: docker:cli image: docker:latest
network_mode: host volumes:
- name: docker-socket
path: /var/run
commands: commands:
- docker build -t gptchat:latest . - docker build -t gptchat:latest .
- docker stop gptchat || true - docker stop gptchat || true
@@ -22,4 +24,8 @@ steps:
branch: branch:
- main - main
event: event:
- push - push
volumes:
- name: docker-socket
host:
path: /var/run/docker.sock