title: Concourse pending for long time before running task
body: <p>I have a Concourse Pipeline with a Task using a Docker image that is stored in our local Artifactory server. Every time I start the Pipeline it takes about 5 mins until the tasks are finally run. The log looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/WtXdq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WtXdq.png" alt="enter image description here"></a></p>
  
  <p>I assume that Concourse somehow checks for newer versions of the Docker image. Unfortunately I have no chance to debug since all the logfiles on the Concourse worker VM offer no usable information.</p>
  
  <p>My Questions:</p>
  
  <ol>
  <li><p>How can I possibly debug what's going on, when Concourse says "preparing build" and the status is "pending".</p></li>
  <li><p>Is there any chance to avoid Concourse from checking for a newer version of the Docker image? I tagged the Docker image with version <code>latest</code> - might this be an issue?</p></li>
  <li><p>Any further ideas how I could speed things up?</p></li>
  </ol>
  
  <p>Here is the detailed configuration of my pipeline and tasks:</p>
  
  <p>pipeline.yml:</p>
  
  <pre><code>---
  resources:
  - name: concourse-image
    type: docker-image
    source:
      repository: OUR_DOMAIN/subpath/concourse
      username: ...
      password: ...
      insecure_registries:
      - OUR_DOMAIN
  
  # ...
  
  jobs:
  - name: deploy
    public: true
    plan:
    - get: concourse-image
    - task: create-manifest
      image: concourse-image
      file: concourse/tasks/create-manifest/task.yml
      params:
        # ...
  </code></pre>
  
  <p>task.yml:</p>
  
  <pre><code>---
  platform: linux
  
  inputs:
  - name: git
  - name: concourse
  
  outputs:
    - name: deployment-manifest
  
  run:
    path: concourse/tasks/create-and-upload-cloud-config/task.sh
  </code></pre>