|
|
@ -46,6 +46,9 @@ steps:
|
|
|
|
from_secret: BUILDRONE_KEY
|
|
|
|
from_secret: BUILDRONE_KEY
|
|
|
|
- name: arm-ssh
|
|
|
|
- name: arm-ssh
|
|
|
|
image: appleboy/drone-ssh
|
|
|
|
image: appleboy/drone-ssh
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- name: ssh_key
|
|
|
|
|
|
|
|
path: /root/drone_rsa
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
|
host:
|
|
|
|
host:
|
|
|
|
from_secret: ssh_host
|
|
|
|
from_secret: ssh_host
|
|
|
@ -54,11 +57,16 @@ steps:
|
|
|
|
port:
|
|
|
|
port:
|
|
|
|
from_secret: ssh_port
|
|
|
|
from_secret: ssh_port
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- /root/.ssh/docker-build:/root/ssh/drone_rsa
|
|
|
|
- /root/.ssh/docker-build:/root/drone_rsa
|
|
|
|
key_path: /root/ssh/drone_rsa
|
|
|
|
key_path: /root/drone_rsa
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- /home/rock64/jfa-go-build/build.sh
|
|
|
|
- /home/rock64/jfa-go-build/build.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- name: ssh_key
|
|
|
|
|
|
|
|
host:
|
|
|
|
|
|
|
|
path: /root/.ssh/docker-build
|
|
|
|
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
- main
|
|
|
|