# Specify type of runner

**URL:** https://drone.discourse.group/t/specify-type-of-runner/8545
**Category:** Drone Support
**Created:** [April 13, 2020, 7:29pm UTC](https://drone.discourse.group/t/specify-type-of-runner/8545 "2020-04-13T19:29:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![imWillX](https://avatars.discourse-cdn.com/v4/letter/i/dbc845/32.png) [@imWillX](https://drone.discourse.group/u/imWillX)
#### Post date: [April 13, 2020, 7:29pm UTC](https://drone.discourse.group/t/specify-type-of-runner/8545/1 "2020-04-13T19:29:39Z")

</div>

Hi!

I’m trying to use drone for windows game that needs packages specifically for windows. As such, I’ll have a windows exec runner. The issue is that I have multiple different types of runners now (docker/exec) and some repos require the docker runner while this one will require the exec runner. Is there a way to specify that only the exec runner to take the job for this repo?

---

<div class="post-metadata">

### Author: ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)
#### Post date: [April 13, 2020, 7:33pm UTC](https://drone.discourse.group/t/specify-type-of-runner/8545/2 "2020-04-13T19:33:23Z")

</div>

Your pipeline should specify the runner in the `type` attribute like this:

```nohighlight
kind: pipeline
type: docker

```

```nohighlight
kind: pipeline
type: exec

```

You can also configure a runner to reject a pipeline if a repository is not whitelisted. If a user configures the pipeline with `type: exec` and the repository is not whitelisted it would error.  
[https://docs.drone.io/runner/exec/configuration/reference/drone-limit-repos/](https://docs.drone.io/runner/exec/configuration/reference/drone-limit-repos/)
