Browse Source

update pipeline for docker branch

docker
parent
commit
70bf718330
1 changed files with 8 additions and 18 deletions
  1. +8
    -18
      .drone.yml

+ 8
- 18
.drone.yml View File

@@ -1,6 +1,6 @@
kind: pipeline
type: docker
name: 1
name: dockerpipe
platform:
os: linux
arch: arm64
@@ -12,24 +12,14 @@ steps:
path: /root/.m2
commands:
- mvn compile
- name: 远程主机部署
image: appleboy/drone-ssh:linux-arm64

- name: docker
image: plugins/docker
settings:
host:
from_secret: ip
username:
from_secret: name
password:
from_secret: pwd
port: 22
script:
- chmod +x /home/deploy.sh
- bash /home/deploy.sh
volumes:
- name: cache
host:
path: /var/lib/cache
username: 153692771@qq.com
password: Docker199637
repo: foo/bar
tags: latest
trigger:
branch:
- docker


Loading…
Cancel
Save