title: How to set a dynamic gitlab job tag with a variable?
body: <p>I am trying to create a dynamic job that can switch between two gitlab runners depending on which tag it is given.  I would like to do this with an environmental variable, but it seems this cannot be used.  The following job:</p>
  <pre><code>runner_test:
    image: alpine
    tags:
      - $MY_RUNNER
    stage: deploy_main
    script:
      - echo foobar
    retry: 2
  </code></pre>
  <p>Results in a paused pipeline with the error: <code>This job is stuck because you don't have any active runners online or available with any of these tags assigned to them: $MY_RUNNER</code></p>