I am currently in a process of migrating multiple web-based applications to Gitea +Drone from GitLab CI. I was able to make everything work smoothly, using drone to test the app, build docker image and push it to a private registry and then, using host system docker socket, deploy the newly published image to a server. In the deploy step, I make use of secrets to store various environment-specific configuration files, as well as some properties like port number for the resulting container etc.
My problem with this setup is that the majority of those configurations are not exactly secret - I would like to be able to edit them via the web GUI, specify environments and display them in the logs - basically the same as the GitLab CI/CD Variables. I feel that using secrets for this is not exactly their intended use-case. But I haven’t been able to find any way to specify build / deploy parameters in some persistent way, not only one-off when manually triggering builds as key / value.
Is there any way to achieve something like this in Drone that I’m missing, or am I entirely of course and should look for a different tool for what I want to do?
Thanks very much in advance for any advice!