test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
mol
2023-12-14 11:01:45 +08:00
parent 216d1d90fa
commit 04f6858411
2 changed files with 9 additions and 9 deletions

View File

@ -2,6 +2,11 @@ kind: pipeline # 定义一个管道
type: docker # 当前管道的类型
name: build # 当前管道的名称
volumes:
- name: cache
host:
path: /tmp/cache
steps: # 定义管道的执行步骤
# - name: build-project # 步骤名称
# image: node:18-bullseye # 当前步骤使用的镜像
@ -102,8 +107,3 @@ steps:
- docker run -d -p 16808:8080 --name=mol-robot_${DRONE_BUILD_NUMBER} --env-file /mnt/data/opt/mol-robot/.env git.liliyamol.cn:8081/mol/mol-robot:latest
# - docker rmi $(docker images | grep "none" | awk '{print $3}')
- echo ==-----==部署成功==-----==
volumes:
- name: cache
host:
path: /tmp/cache