title: Docker Hub Automated Build - Tagging
body: <p>When specifying an Automated Build on Docker Hub, I can set some settings (<code>Type</code> ('Branch' or 'Tag'), <code>Name</code>, <code>Dockerfile Location</code> and <code>Docker Tag Name</code>). But unfortunately I didn't find any documentation for those.</p>
  
  <p>I assume, that when I choose <code>Type</code> 'Branch' and enter a <code>Name</code>, this is the branch from my git repository on GitHub/BitBucket being used and that <code>Docker Tag Name</code> results in the tag being assigned to the created image.</p>
  
  <p>I played around a bit with it and found some things that are not clear to me - but I hope you can explain to me.</p>
  
  <ul>
  <li><p>adding more than one entry results in only one tag being assigned. I used 'Branch', 'master' and '/' and 'latest' as the <code>Docker Tag Name</code> in the first one, 'v1' in the second one. But only 'v1' is used as a tag.</p></li>
  <li><p>Using <code>Type</code> 'Tag' didn't result in different result. I thought this might only build an image if a git commit is tagged with this value. What is this type for?</p></li>
  </ul>
  
  <p>I was looking for the ability to assign the tag 'latest' to the latest build and use a scheme like v1, v2, v3 and so on for older builds as I could do when building images locally.</p>