github.com/aspring/packer@v0.8.1-0.20150629211158-9db281ac0f89/website/source/docs/post-processors/docker-push.html.markdown (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Docker Push Post-Processor"
     4  description: |-
     5    The Packer Docker push post-processor takes an artifact from the docker-import post-processor and pushes it to a Docker registry.
     6  ---
     7  
     8  # Docker Push Post-Processor
     9  
    10  Type: `docker-push`
    11  
    12  The Packer Docker push post-processor takes an artifact from the
    13  [docker-import](/docs/post-processors/docker-import.html) post-processor
    14  and pushes it to a Docker registry.
    15  
    16  ## Configuration
    17  
    18  This post-processor has only optional configuration:
    19  
    20  * `login` (boolean) - Defaults to false. If true, the post-processor will
    21      login prior to pushing.
    22  
    23  * `login_email` (string) - The email to use to authenticate to login.
    24  
    25  * `login_username` (string) - The username to use to authenticate to login.
    26  
    27  * `login_password` (string) - The password to use to authenticate to login.
    28  
    29  * `login_server` (string) - The server address to login to.
    30  
    31  -> **Note:** If you login using the credentials above, the
    32  post-processor will automatically log you out afterwards (just the server
    33  specified).
    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).