DRONE_STEP_NUMBER environment variable https://docs.drone.io/pipeline/environment/reference/drone-step-number/ is not set for pipelines executing on drone-runner-kube.
It also does not exist in /run/drone/env.
Harness team took an initial look and asked me to create this ticket.