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

**URL:** <https://forum.gitea.com/t/gitea-actions-how-to-specify-size-of-run-image/7549>\
**Category:** Actions\
**Created:** [July 11, 2023, 8:06am UTC](https://forum.gitea.com/t/gitea-actions-how-to-specify-size-of-run-image/7549 "2023-07-11T08:06:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erwyn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/erwyn/32/2813_2.png) [@Erwyn](https://forum.gitea.com/u/Erwyn)\
**Post date:** [July 11, 2023, 8:06am UTC](https://forum.gitea.com/t/gitea-actions-how-to-specify-size-of-run-image/7549/1 "2023-07-11T08:06:57Z")

</div>

Hello there,

I’m trying the act runner for Gitea actions. I found the documentation here: [GitHub - nektos/act: Run your GitHub Actions locally 🚀](https://github.com/nektos/act#runners). 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 !

---

<div class="post-metadata">

**Author:** ![Erwyn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/erwyn/32/2813_2.png) [@Erwyn](https://forum.gitea.com/u/Erwyn)\
**Post date:** [July 11, 2023, 9:51am UTC](https://forum.gitea.com/t/gitea-actions-how-to-specify-size-of-run-image/7549/2 "2023-07-11T09:51:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![denyskon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/denyskon/32/3861_2.png) [@denyskon](https://forum.gitea.com/u/denyskon)\
**Post date:** [July 11, 2023, 11:50am UTC](https://forum.gitea.com/t/gitea-actions-how-to-specify-size-of-run-image/7549/3 "2023-07-11T11:50:14Z")

</div>

Hi, it looks like you need to set the specified labels first: [Act Runner | Gitea Documentation](https://docs.gitea.com/1.20/usage/actions/act-runner#labels)

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

---

<div class="post-metadata">

**Author:** ![Erwyn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/erwyn/32/2813_2.png) [@Erwyn](https://forum.gitea.com/u/Erwyn)\
**Post date:** [July 11, 2023, 12:29pm UTC](https://forum.gitea.com/t/gitea-actions-how-to-specify-size-of-run-image/7549/4 "2023-07-11T12:29:02Z")

</div>

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.
