composed envsets
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
09cdaa61db
commit
f2a83c2069
|
@ -199,7 +199,8 @@ local images = {
|
||||||
function(s) function(step) step {
|
function(s) function(step) step {
|
||||||
settings +: {
|
settings +: {
|
||||||
script +: [
|
script +: [
|
||||||
"export D=$${DRONE_COMMIT}",
|
"export D=${DRONE_COMMIT}",
|
||||||
|
"export O=${O}",
|
||||||
"export %(env)s='${%(env)s}'" % {
|
"export %(env)s='${%(env)s}'" % {
|
||||||
env: util.environment(s),
|
env: util.environment(s),
|
||||||
},
|
},
|
||||||
|
@ -212,6 +213,9 @@ local images = {
|
||||||
(
|
(
|
||||||
images.ssh {
|
images.ssh {
|
||||||
name: 'deploy portainer',
|
name: 'deploy portainer',
|
||||||
|
environment +: {
|
||||||
|
O: 'ahahahahaha',
|
||||||
|
},
|
||||||
settings +: {
|
settings +: {
|
||||||
username: util.fromSecret("ssh-root-user"),
|
username: util.fromSecret("ssh-root-user"),
|
||||||
password: util.fromSecret("ssh-root-password"),
|
password: util.fromSecret("ssh-root-password"),
|
||||||
|
|
Loading…
Reference in New Issue