.
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) { printEnv(file, env): function(step) util.compose([
settings +: { util.envSet(env),
script +: [ function(step) step {
'echo "export %(environment)s=\'$${%(environment)s}\'" >> %(file)s # "%(secret)s"' % { settings +: {
environment: util.environment(env), script +: [
file: file, 'echo "export %(environment)s=\'$${%(environment)s}\'" >> %(file)s # "%(secret)s"' % {
secret: util.secret(env), environment: util.environment(env),
}, file: file,
], secret: util.secret(env),
},
],
},
}, },
}, ])(step),
}; };
local images = { local images = {
docker: { docker: {