automated_api/.drone.yml
lixin 42907bcf04
Some checks failed
continuous-integration/drone/push Build is failing
ci(.drone.yml): 更新构建配置
- 移除了缓存依赖和安装依赖的步骤
- 重命名了 node-dowun 步骤为 node-run
- 更新了 Docker 镜像名称
- 修正了 Dockerfile 路径
2025-01-10 14:18:27 +08:00

29 lines
476 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: git-clone
image: alpine/git
commands:
- git clone http://120.48.5.80:3000/lixin/automated_api.git
- cd automated_api
- name: node-dowun
image: node:22-alpine
- name: docker-build
image: plugins/docker
settings:
dockerfile: Dockerfil
- name: docker-run
image: docker:20.10
commands:
- docker run -d -p 8001:8001 rz/automated_api:latest
trigger:
branch:
- main
event:
- push