This commit is contained in:
parent
dbfb050e8c
commit
9cecf4228b
|
@ -41,18 +41,16 @@ steps:
|
||||||
- drone_gitea_client_id
|
- drone_gitea_client_id
|
||||||
- drone_gitea_server
|
- drone_gitea_server
|
||||||
- drone_server_host
|
- drone_server_host
|
||||||
- host
|
- ssh_host
|
||||||
- user
|
- ssh_user
|
||||||
- port
|
- ssh_port
|
||||||
- password
|
|
||||||
- drone_gitea_client_secret
|
- drone_gitea_client_secret
|
||||||
- drone_rpc_secret
|
- drone_rpc_secret
|
||||||
- key
|
- ssh_key
|
||||||
host: ${HOST}
|
host: ${SSH_HOST}
|
||||||
#key: ${SSH_KEY}
|
key: ${SSH_KEY}
|
||||||
password: ${PASSWORD}
|
passphrase: ${SSH_PASSPHRASE}
|
||||||
#passphrase: ${SSH_PASSPHRASE}
|
port: ${SSH_PORT}
|
||||||
port: ${PORT}
|
|
||||||
script:
|
script:
|
||||||
- rm -f env-drone
|
- rm -f env-drone
|
||||||
- "echo \"export REGISTRY_DOMAIN='$${REGISTRY_DOMAIN}'\" >> env-drone # \"registry-domain\""
|
- "echo \"export REGISTRY_DOMAIN='$${REGISTRY_DOMAIN}'\" >> env-drone # \"registry-domain\""
|
||||||
|
@ -88,16 +86,14 @@ steps:
|
||||||
from_secret: registry-password
|
from_secret: registry-password
|
||||||
REGISTRY_PORT:
|
REGISTRY_PORT:
|
||||||
from_secret: registry-port
|
from_secret: registry-port
|
||||||
HOST:
|
SSH_HOST:
|
||||||
from_secret: ssh-host
|
from_secret: ssh-host
|
||||||
#KEY:
|
SSH_KEY:
|
||||||
# from_secret: ssh-key
|
from_secret: ssh-key
|
||||||
PORT:
|
SSH_PORT:
|
||||||
from_secret: ssh-port
|
from_secret: ssh-port
|
||||||
SSH_USER:
|
SSH_USER:
|
||||||
from_secret: ssh-user
|
from_secret: ssh-user
|
||||||
PASSWORD:
|
|
||||||
from_secret: ssh-password
|
|
||||||
|
|
||||||
- name: scp
|
- name: scp
|
||||||
image: appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47
|
image: appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47
|
||||||
|
|
Loading…
Reference in New Issue