
Some checks failed
continuous-integration/drone/push Build is failing
- 移除了缓存依赖和安装依赖的步骤 - 重命名了 node-dowun 步骤为 node-run - 更新了 Docker 镜像名称 - 修正了 Dockerfile 路径
29 lines
476 B
YAML
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 |