I just started using drone. I tried to use the gitea release plugin, but I get an error message: time="2019-08-19T12:45:36Z" level=fatal msg="You must provide an API key"
I did provide an API key. I created a token for the drone user, that should be enough I think?
And my gitea is installed via a subpath /gitea. I hope that’s ok for the plugin.
It sounds like you hare having issues with the plugin reading the value or reading the value from the secret. In order to help you debug, we will need to see all of the below information:
version of Drone you are using
a copy of your yaml configuration file.
the output of drone secret ls for your repository.
provide the output of drone build info for the failing build.
if you are using drone exec please make this clear
edit: I do not need 3 and 4 to diagnose the issue. The problem is with the yaml. You seem to be mixing 0.8 and 1.0 syntax which is not going to work as expected.
Since you are using 1.0 I recommend using 1.0 syntax. Here are some useful resources: