title: Getting error while using cache-image option for pack build
body: <p>While I am trying to using --cache-image using below command:</p>
  <pre><code>pack build -v private.repository/new_image:tag \
  --builder cnbs/sample-builder:bionic \
  --buildpack samples/java-maven \
  --path $PWD \
  --cache-image private.repository/cache_image_name:tag \
  --publish
  </code></pre>
  <p>I am getting below error:</p>
  <p>ERROR: failed to create image cache: accessing cache image &quot;private.repository/cache_image_name:tag&quot;: parsing auth header '': unknown auth type from header:
  ERROR: failed to build: executing lifecycle: failed with status code: 1</p>
  <p>Is there something that I am missing here? Please let me know if I need to provide more information.</p>