this is not valid syntax and should be removed. see https://docs.drone.io/pipeline/docker/syntax/cloning/
Then I need to see the following information:
- the output of
drone secret ls <your/repo>
for your repository. - the output of
drone build info <your/repo> <build-number>
for the failing build.
The root cause for this error is incorrect secret configuration. However, I cannot advise without the above information.