Update .trustie-pipeline.yml

jasder 4 weeks ago
parent 8eed830929
commit 2884b7f8bd

@ -1,11 +1,9 @@
kind: pipeline kind: pipeline
type: docker type: docker
name: 上线部署 name: 开发流水线
platform: platform:
os: linux os: linux
arch: amd64 arch: amd64
steps:
volumes: volumes:
- name: cache - name: cache
host: host:
@ -56,8 +54,3 @@ steps:
- docker build -t mo-test:1.0 . - docker build -t mo-test:1.0 .
- docker run -d -p 8080:8080 --name mo-test mo-test:1.0 - docker run -d -p 8080:8080 --name mo-test mo-test:1.0
- echo ====部署成功====== - echo ====部署成功======
trigger:
branch:
- master
event:
- push

Loading…
Cancel
Save