Gitea actions: how to specify 'size' of run image?

Hello there,

I’m trying the act runner for Gitea actions. I found the documentation here: GitHub - nektos/act: Run your GitHub Actions locally 🚀. It is said that the image from the table that will be used depends on type and size requested. If I get it correctly type is specified by runs-on but how do I set the size ? How do I end up with ubuntu-latest Medium Docker Image entry ?

I would like to be able to set an image that does have docker installed in it.

Thanks !

For now I adapted the runner config file directly, but I’m still wondering if there is anything I could add on the worflow file to specify this.

Hi, it looks like you need to set the specified labels first: Act Runner | Gitea Documentation

Then I think you should be able to just write runs-on: ubuntu-latest:docker://catthehacker/ubuntu:act-latest

1 Like

Thanks for the info, wasn’t aware about that.

So for the next person looking for this, you can also add available labels to your Gitea Runner by passing GITEA_RUNNER_LABELS= to your GItea Act Runner docker image. This way you can customize easily what you want to have in there.