ci(.drone.yml): 更新 Docker 运行命令
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
- 移除了多余的空行 - 在 docker run 命令中添加了 --network 参数,指定使用 tycm-server_test-network 网络 - 删除了不必要的 plugins/docker 镜像引用
This commit is contained in:
parent
0d7ba812f5
commit
119a9ff88c
@ -12,11 +12,9 @@ steps:
|
|||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
mirror: https://docker.1panelproxy.com
|
mirror: https://docker.1panelproxy.com
|
||||||
|
|
||||||
- name: docker-run-step
|
|
||||||
image: plugins/docker
|
|
||||||
commands:
|
commands:
|
||||||
- docker run -d -p 8001:8001 --name automated-api --restart unless-stopped automated-api:latest
|
- docker run -d -p 8001:8001 --network tycm-server_test-network --name automated-api --restart unless-stopped automated-api:latest
|
||||||
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
Loading…
Reference in New Issue
Block a user