github.com/askholme/packer@v0.7.2-0.20140924152349-70d9566a6852/website/source/docs/post-processors/docker-push.html.markdown (about) 1 --- 2 layout: "docs" 3 page_title: "Docker Push Post-Processor" 4 --- 5 6 # Docker Push Post-Processor 7 8 Type: `docker-push` 9 10 The Docker push post-processor takes an artifact from the 11 [docker-import](/docs/post-processors/docker-import.html) post-processor 12 and pushes it to a Docker registry. 13 14 ## Configuration 15 16 This post-processor has only optional configuration: 17 18 * `login` (boolean) - Defaults to false. If true, the post-processor will 19 login prior to pushing. 20 21 * `login_email` (string) - The email to use to authenticate to login. 22 23 * `login_username` (string) - The username to use to authenticate to login. 24 25 * `login_password` (string) - The password to use to authenticate to login. 26 27 * `login_server` (string) - The server address to login to. 28 29 <div class="alert alert-info alert-block"> 30 <strong>Note:</strong> If you login using the credentials above, the 31 post-processor will automatically log you out afterwards (just the server 32 specified). 33 </div> 34 35 ## Example 36 37 For an example of using docker-push, see the section on using 38 generated artifacts from the [docker builder](/docs/builders/docker.html).