This commit is contained in:
parent
9cecf4228b
commit
5dc23e2ff4
|
@ -41,18 +41,21 @@ steps:
|
||||||
- drone_gitea_client_id
|
- drone_gitea_client_id
|
||||||
- drone_gitea_server
|
- drone_gitea_server
|
||||||
- drone_server_host
|
- drone_server_host
|
||||||
- ssh_host
|
- host
|
||||||
- ssh_user
|
- user
|
||||||
- ssh_port
|
- port
|
||||||
|
- password
|
||||||
- drone_gitea_client_secret
|
- drone_gitea_client_secret
|
||||||
- drone_rpc_secret
|
- drone_rpc_secret
|
||||||
- ssh_key
|
- key
|
||||||
host: ${SSH_HOST}
|
host: ${HOST}
|
||||||
key: ${SSH_KEY}
|
#key: ${SSH_KEY}
|
||||||
passphrase: ${SSH_PASSPHRASE}
|
password: ${PASSWORD}
|
||||||
port: ${SSH_PORT}
|
#passphrase: ${SSH_PASSPHRASE}
|
||||||
|
port: ${PORT}
|
||||||
script:
|
script:
|
||||||
- rm -f env-drone
|
- rm -f env-drone
|
||||||
|
- cat /proc/sys/kernel/hostname
|
||||||
- "echo \"export REGISTRY_DOMAIN='$${REGISTRY_DOMAIN}'\" >> env-drone # \"registry-domain\""
|
- "echo \"export REGISTRY_DOMAIN='$${REGISTRY_DOMAIN}'\" >> env-drone # \"registry-domain\""
|
||||||
- "echo \"export REGISTRY_PORT='$${REGISTRY_PORT}'\" >> env-drone # \"registry-port\""
|
- "echo \"export REGISTRY_PORT='$${REGISTRY_PORT}'\" >> env-drone # \"registry-port\""
|
||||||
- "echo \"export REGISTRY_PASSWORD='$${REGISTRY_PASSWORD}'\" >> env-drone # \"registry-password\""
|
- "echo \"export REGISTRY_PASSWORD='$${REGISTRY_PASSWORD}'\" >> env-drone # \"registry-password\""
|
||||||
|
@ -86,14 +89,16 @@ steps:
|
||||||
from_secret: registry-password
|
from_secret: registry-password
|
||||||
REGISTRY_PORT:
|
REGISTRY_PORT:
|
||||||
from_secret: registry-port
|
from_secret: registry-port
|
||||||
SSH_HOST:
|
HOST:
|
||||||
from_secret: ssh-host
|
from_secret: ssh-host
|
||||||
SSH_KEY:
|
#KEY:
|
||||||
from_secret: ssh-key
|
# from_secret: ssh-key
|
||||||
SSH_PORT:
|
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