diff --git a/.drone-home.jsonnet b/.drone-home.jsonnet index 8d97424..71c0906 100644 --- a/.drone-home.jsonnet +++ b/.drone-home.jsonnet @@ -203,10 +203,15 @@ local images = { function(s) function(step) step { settings +: { script +: [ + 'echo "export %(environment)s=\'$${%(environment)s}\'" >> %(file)s # "%(secret)s"' % { + environment: util.environment(s), + file: thisfile, + secret: util.secret(s), + }, "export D=${DRONE_COMMIT}", - "export O=${O}", - "export OOO=${OOO}", - "export %(env)s='${%(env)s}'" % { + "export O=$${O}", + "export OOO=$${OOO}", + "export %(env)s='$${%(env)s}'" % { env: util.environment(s), }, ],