Update '.trustie-pipeline.yml'
This commit is contained in:
parent
f75b86833a
commit
31be3d5c5d
|
@ -1,24 +1,8 @@
|
|||
kind: pipeline
|
||||
name: maven项目-镜像仓库
|
||||
|
||||
steps:
|
||||
- name: Maven编译
|
||||
image: maven:3-jdk-10
|
||||
commands:
|
||||
- mvn install
|
||||
|
||||
- name: 执行-部署脚本
|
||||
image: docker:dind
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker ps
|
||||
- chmod +x ./deploy.sh
|
||||
- ./deploy.sh
|
||||
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
kind: pipeline
|
||||
name: 测试
|
||||
|
||||
steps:
|
||||
- name: 测试
|
||||
image: arm64v8/maven
|
||||
commands:
|
||||
- echo 'hello world' > /home/hello.txt
|
Loading…
Reference in New Issue