.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-07-28 17:30:59 +01:00
parent d66b2f3e97
commit 031dc15083
1 changed files with 13 additions and 10 deletions

View File

@ -68,17 +68,20 @@ local util = {
],
},
},
printEnv(file, env): function(step) util.envSet(env)(step) {
settings +: {
script +: [
'echo "export %(environment)s=\'$${%(environment)s}\'" >> %(file)s # "%(secret)s"' % {
environment: util.environment(env),
file: file,
secret: util.secret(env),
},
],
printEnv(file, env): function(step) util.compose([
util.envSet(env),
function(step) step {
settings +: {
script +: [
'echo "export %(environment)s=\'$${%(environment)s}\'" >> %(file)s # "%(secret)s"' % {
environment: util.environment(env),
file: file,
secret: util.secret(env),
},
],
},
},
},
])(step),
};
local images = {
docker: {