composed envsets
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-07-28 17:54:00 +01:00
parent 09cdaa61db
commit f2a83c2069
1 changed files with 5 additions and 1 deletions

View File

@ -199,7 +199,8 @@ local images = {
function(s) function(step) step {
settings +: {
script +: [
"export D=$${DRONE_COMMIT}",
"export D=${DRONE_COMMIT}",
"export O=${O}",
"export %(env)s='${%(env)s}'" % {
env: util.environment(s),
},
@ -212,6 +213,9 @@ local images = {
(
images.ssh {
name: 'deploy portainer',
environment +: {
O: 'ahahahahaha',
},
settings +: {
username: util.fromSecret("ssh-root-user"),
password: util.fromSecret("ssh-root-password"),