mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-23 01:20:11 +00:00
fix keyfile
This commit is contained in:
parent
e28c50401e
commit
a9d48083fd
12
.drone.yml
12
.drone.yml
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user