I need to specify a custom
DRONE_REMOTE_URL in my clone step in my drone.yml since enabling 2 step authentication for github. Unfortunately any attempts to pass in a custom value to my clone step have not worked and I keep getting:
fatal: could not read Username for 'https://github.com': No such device or address
Here is my
pipeline: clone: image: plugins/git environment: - DRONE_REMOTE_URL="mycustomUrlWithGithubCreds@github.com/repoetc"
Am I passing in the variable correctly? I also attempted to set
DRONE_REMOTE_URL as a secret and it doesn’t seem to be passing it in.