I wanna to get the evironment value
Then, i did like this:
but it output this:
Can anyone give me some advice? Thank you.
I wanna to get the evironment value
Then, i did like this:
but it output this:
Can anyone give me some advice? Thank you.
Check this: https://stackoverflow.com/questions/41881713/drone-replacing-environment-variables-with-empty-strings
Use environment vars like this $my_env_var
instead
this is because drone emulates bash string substitution using a Go library that we created. Only these environment variables can be used in yaml substitution: https://docs.drone.io/reference/environ/