Merge branch 'home-deploy' of https://sigyl.com/git/giles/portainer into home-deploy
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
commit
9807f15f72
|
@ -56,7 +56,7 @@ local util = {
|
||||||
'_',
|
'_',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
envSet(env): function(step) step {
|
envSet(env): {
|
||||||
environment +: {
|
environment +: {
|
||||||
[util.environment(env)]: util.fromSecret(
|
[util.environment(env)]: util.fromSecret(
|
||||||
util.secret(env)
|
util.secret(env)
|
||||||
|
@ -68,7 +68,7 @@ local util = {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
printEnv(file, env): function(step) util.envSet(env)(step) {
|
printEnv(file, env): function(step) step (util.envSet(env)) {
|
||||||
settings +: {
|
settings +: {
|
||||||
script +: [
|
script +: [
|
||||||
'echo "export %(environment)s=\'$${%(environment)s}\'" >> %(file)s # "%(secret)s"' % {
|
'echo "export %(environment)s=\'$${%(environment)s}\'" >> %(file)s # "%(secret)s"' % {
|
||||||
|
|
Loading…
Reference in New Issue