I am trying something like:
kind: pipeline
type: kubernetes
name: test-node-selection-dynamic
trigger:
event:
- promote
steps:
- name: test-dynamic
image: alpine:3.12.0
commands:
- echo "great success DYNAMIC"
node:
environment: ${DRONE_DEPLOY_TO}
With no success.
${DRONE_DEPLOY_TO} is not being replaced by the environment value.
Does the substitution only occur on the runner side?
If so is there any alternatives to achieve this behaviour?
Thanks in advance.