composed envsets
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
1692c835e2
commit
82eeeba210
|
@ -113,12 +113,16 @@ local images = {
|
|||
},
|
||||
ssh: {
|
||||
image: 'appleboy/drone-ssh',
|
||||
environment: {
|
||||
OOO: 'ahahahahaha',
|
||||
},
|
||||
settings: {
|
||||
host: util.fromSecret("ssh-host"),
|
||||
port: util.fromSecret("ssh-port"),
|
||||
username: util.fromSecret("ssh-user"),
|
||||
password: util.fromSecret("ssh-password"),
|
||||
envs: [
|
||||
'ooo',
|
||||
'drone_tag',
|
||||
'drone_commit',
|
||||
'drone_build_number',
|
||||
|
@ -200,7 +204,8 @@ local images = {
|
|||
settings +: {
|
||||
script +: [
|
||||
"export D=${DRONE_COMMIT}",
|
||||
"export O=$${O}",
|
||||
"export O=${O}",
|
||||
"export OOO=${OOO}",
|
||||
"export %(env)s='${%(env)s}'" % {
|
||||
env: util.environment(s),
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue