Body: <p>How to use tags to use a specific gitlab-runner?
  I wrote tag in .gitlab-ci.yml:</p>
  <pre><code>appBuild:
    stage: build
    tags:
      - android
  </code></pre>
  <p>I wrote &quot;android&quot; tag in runner config.
  But job is in pending state and is waiting to be picked by a runner.
  What is wrong?</p>
  
Comments: CC BY-SA 4.0
Comments: 2021-03-11T10:06:14.230Z
Comments: Do you have a runner defined with the tag android declared at its registration ?
Comments: Tensibai
Comments: CC BY-SA 4.0
Comments: 2021-03-11T10:15:16.757Z
Comments: @Tensibai Yes, i declared it with tag Android in registration
Comments: Epic555
Comments: CC BY-SA 4.0
Comments: 2021-03-11T15:51:24.773Z
Comments: Check your tags, check the settings => CI/CD of your project to be sure the runner is visible and check your runner logs, maybe it can't start properly due to something on your runner machine and is thus considered dead on gitlab point of view.
Comments: Tensibai
Comments: CC BY-SA 4.0
Comments: 2021-03-11T18:00:43.827Z
Comments: As long as you have a runner with the "android" tag, and your project has access to it, there is no reason your runner shouldn't pick up the job.
Comments: Preston Martin
Comments: CC BY-SA 4.0
Comments: 2021-03-12T06:13:22.137Z
Comments: runner is visible in gitlab
Comments: Epic555
Tags: <gitlab-ci-runner>
Title: How to use tags to use a specific gitlab-runner?
UserDisplayName: Epic555
ThreadText: # How to use tags to use a specific gitlab-runner?
  
  (Asked by: username_0 on 2021-03-11)
  
  How to use tags to use a specific gitlab-runner?
  I wrote tag in .gitlab-ci.yml:
  
  ```
  appBuild:
    stage: build
    tags:
      - android
  
  ```
  
  I wrote "android" tag in runner config.
  But job is in pending state and is waiting to be picked by a runner.
  What is wrong?
  
  **Tags:** gitlab-ci-runner
  
  > **Comments:**
  > **username_1**: Do you have a runner defined with the tag android declared at its registration ?  
  > **username_0**: @username_1 Yes, i declared it with tag Android in registration  
  > **username_1**: Check your tags, check the settings => CI/CD of your project to be sure the runner is visible and check your runner logs, maybe it can't start properly due to something on your runner machine and is thus considered dead on gitlab point of view.  
  > **username_2**: As long as you have a runner with the "android" tag, and your project has access to it, there is no reason your runner shouldn't pick up the job.  
  > **username_0**: runner is visible in gitlab  
  
  ---
  
  ## 0 answers
  
  