new
This commit is contained in:
12
.drone.yml
12
.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
|
||||
@@ -23,3 +25,7 @@ steps:
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
volumes:
|
||||
- name: docker-socket
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
Reference in New Issue
Block a user