diff --git a/.drone.yml b/.drone.yml index 86ac247..2bddad5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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