Is there away to do this?
if I do
docker run -e "DRONE_SERVER=xx" -e "DRONE_TOKEN=xx" drone/cli user ls
I can supply “user ls” to entrypoint.
How can I do this in a step?
I want
{
"environment": {
"DRONE_SERVER": "xx",
"DRONE_TOKEN": "xx",
},
"image": "drone/cli",
"name": "set",
"arguments": ["user", "ls"]
},