|
|
@@ -17,11 +17,10 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
|
|
- cp run.sh /app/build/run.sh
|
|
|
|
|
|
- name: build-start
|
|
|
- image: appleboy/drone-ssh # SSH工具镜像
|
|
|
+ image: appleboy/drone-ssh:latest # SSH工具镜像
|
|
|
settings:
|
|
|
host: 192.168.0.222 # 远程连接地址
|
|
|
- username:
|
|
|
- from_secret: ssh_username# 从Secret中读取SSH密码
|
|
|
+ username: root # 远程连接账号
|
|
|
password:
|
|
|
from_secret: ssh_password # 从Secret中读取SSH密码
|
|
|
port: 22 # 远程连接端口
|