composed envsets
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f66460a092
commit
09cdaa61db
|
@ -118,6 +118,11 @@ local images = {
|
||||||
port: util.fromSecret("ssh-port"),
|
port: util.fromSecret("ssh-port"),
|
||||||
username: util.fromSecret("ssh-user"),
|
username: util.fromSecret("ssh-user"),
|
||||||
password: util.fromSecret("ssh-password"),
|
password: util.fromSecret("ssh-password"),
|
||||||
|
envs: [
|
||||||
|
'drone_tag',
|
||||||
|
'drone_commit',
|
||||||
|
'drone_build_number',
|
||||||
|
],
|
||||||
script: [],
|
script: [],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -194,6 +199,7 @@ local images = {
|
||||||
function(s) function(step) step {
|
function(s) function(step) step {
|
||||||
settings +: {
|
settings +: {
|
||||||
script +: [
|
script +: [
|
||||||
|
"export D=$${DRONE_COMMIT}",
|
||||||
"export %(env)s='${%(env)s}'" % {
|
"export %(env)s='${%(env)s}'" % {
|
||||||
env: util.environment(s),
|
env: util.environment(s),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue