From 5aa7994e53d0549237f3c386c436bbb2c6ad9f38 Mon Sep 17 00:00:00 2001 From: Giles Date: Tue, 28 Jul 2020 18:34:09 +0100 Subject: [PATCH] . --- .drone-home.jsonnet | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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), }, ],