drone/drone-starlark/repos/environment.star

6 lines
152 B
Plaintext

load("@this//:from-secret.star", "fromSecret")
def environment(env):
return dict(
[(x.replace("-", "_").upper(), fromSecret(x)) for x in env]
)