This commit is contained in:
Giles Bradshaw 2020-09-22 10:20:03 +01:00
parent dbfb050e8c
commit 9cecf4228b
1 changed files with 12 additions and 16 deletions

View File

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