Setting release keystore with `expo prebuild` workflow

Hi, I’m developing an app mainly using expo prebuild workflow.
Now I’m setting the CI structure and I want to build a signed release android version.

The problem is that running expo prebuild and then ./gradlew buildRelease creates a version signed by some generated debug keystore.

I created credentials.json file with keystore location but it seems that does not seem to work with expo prebuild and I could not find any other place to set the release keystore.
What is the correct way of accomplishing that?