automated_api/.drone.yml
lixin 119a9ff88c
Some checks failed
continuous-integration/drone/push Build is failing
ci(.drone.yml): 更新 Docker 运行命令
- 移除了多余的空行
- 在 docker run 命令中添加了 --network 参数,指定使用 tycm-server_test-network 网络
- 删除了不必要的 plugins/docker 镜像引用
2025-01-10 16:19:27 +08:00

27 lines
523 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
dry_run: true
repo: automated-api
tags:
- latest
mirror: https://docker.1panelproxy.com
commands:
- docker run -d -p 8001:8001 --network tycm-server_test-network --name automated-api --restart unless-stopped automated-api:latest
trigger:
branch:
- main
- master
volumes:
- name: docker
host:
path: /var/run/docker.sock