How to setup local gitlab CI with f-droid configrations to test build locally

Hi, I would like to be able to run locally the exact same process that is run by fdroiddata gitlab CI build. I’ve installed gitlab-runner but I’m unable to figure out how to feed it my app yml file that I normally upload to the f-droid data repository to start building my app there.

I’m trying to debug an app build and I don’t want to wait for the Gitlab or be limited by their log size restrictions.

I know I can build manually using the submit guide instructions but I want the automation and identical behavior of Gitlab CI
So I would appreciate it if instructions could be provided.

This guide could be much more useful: Setting up app submission development environment locally · Wiki · F-Droid / wiki · GitLab