This commit is contained in:
parent
f01185276f
commit
a3ff6c2d7d
|
@ -194,6 +194,7 @@ steps:
|
||||||
- drone_gitea_client_secret
|
- drone_gitea_client_secret
|
||||||
- drone_rpc_secret
|
- drone_rpc_secret
|
||||||
- ssh_key
|
- ssh_key
|
||||||
|
- registry_password
|
||||||
script:
|
script:
|
||||||
- rm -f env-drone
|
- rm -f env-drone
|
||||||
- "echo \"export SCHEME='$${SCHEME}'\" >> env-drone # \"scheme\""
|
- "echo \"export SCHEME='$${SCHEME}'\" >> env-drone # \"scheme\""
|
||||||
|
@ -207,6 +208,7 @@ steps:
|
||||||
- "echo \"export DRONE_GITEA_CLIENT_SECRET='$${DRONE_GITEA_CLIENT_SECRET}'\" >> env-drone # \"drone-gitea-client-secret\""
|
- "echo \"export DRONE_GITEA_CLIENT_SECRET='$${DRONE_GITEA_CLIENT_SECRET}'\" >> env-drone # \"drone-gitea-client-secret\""
|
||||||
- "echo \"export DRONE_RPC_SECRET='$${DRONE_RPC_SECRET}'\" >> env-drone # \"drone-rpc-secret\""
|
- "echo \"export DRONE_RPC_SECRET='$${DRONE_RPC_SECRET}'\" >> env-drone # \"drone-rpc-secret\""
|
||||||
- "echo \"export SSH_KEY='$${SSH_KEY}'\" >> env-drone # \"ssh-key\""
|
- "echo \"export SSH_KEY='$${SSH_KEY}'\" >> env-drone # \"ssh-key\""
|
||||||
|
- "echo \"export REGISTRY_PASSWORD='$${REGISTRY_PASSWORD}'\" >> env-drone # \"registry-password\""
|
||||||
environment:
|
environment:
|
||||||
DOMAIN:
|
DOMAIN:
|
||||||
from_secret: domain
|
from_secret: domain
|
||||||
|
@ -220,6 +222,8 @@ steps:
|
||||||
from_secret: drone-rpc-secret
|
from_secret: drone-rpc-secret
|
||||||
DRONE_SERVER_HOST:
|
DRONE_SERVER_HOST:
|
||||||
from_secret: drone-server-host
|
from_secret: drone-server-host
|
||||||
|
REGISTRY_PASSWORD:
|
||||||
|
from_secret: registry-password
|
||||||
SCHEME:
|
SCHEME:
|
||||||
from_secret: scheme
|
from_secret: scheme
|
||||||
SSH_HOST:
|
SSH_HOST:
|
||||||
|
@ -326,6 +330,7 @@ steps:
|
||||||
- drone_gitea_client_secret
|
- drone_gitea_client_secret
|
||||||
- drone_rpc_secret
|
- drone_rpc_secret
|
||||||
- ssh_key
|
- ssh_key
|
||||||
|
- registry_password
|
||||||
- registry_domain
|
- registry_domain
|
||||||
- registry_port
|
- registry_port
|
||||||
- registry_password
|
- registry_password
|
||||||
|
@ -334,6 +339,7 @@ steps:
|
||||||
- export DRONE_GITEA_CLIENT_SECRET=$${DRONE_GITEA_CLIENT_SECRET}
|
- export DRONE_GITEA_CLIENT_SECRET=$${DRONE_GITEA_CLIENT_SECRET}
|
||||||
- export DRONE_RPC_SECRET=$${DRONE_RPC_SECRET}
|
- export DRONE_RPC_SECRET=$${DRONE_RPC_SECRET}
|
||||||
- export SSH_KEY=$${SSH_KEY}
|
- export SSH_KEY=$${SSH_KEY}
|
||||||
|
- export REGISTRY_PASSWORD=$${REGISTRY_PASSWORD}
|
||||||
- export SCHEME=$${SCHEME}
|
- export SCHEME=$${SCHEME}
|
||||||
- export DOMAIN=$${DOMAIN}
|
- export DOMAIN=$${DOMAIN}
|
||||||
- export DRONE_GITEA_CLIENT_ID=$${DRONE_GITEA_CLIENT_ID}
|
- export DRONE_GITEA_CLIENT_ID=$${DRONE_GITEA_CLIENT_ID}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[
|
[
|
||||||
'drone-gitea-client-secret',
|
'drone-gitea-client-secret',
|
||||||
'drone-rpc-secret',
|
'drone-rpc-secret',
|
||||||
'ssh-key'
|
'ssh-key',
|
||||||
|
'registry-password',
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue