While rewriting old .drone.yml files to .drone.jsonnet and I faced one problem.
In yml there was a line which used variable substitution, like this:
So, I tried to write such a jsonnet which will generate yaml as the one above. But I failed.
Maybe I missed something important? Please, help!