docker-push.html.markdown 1.07 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
---
layout: "docs"
page_title: "Docker Push Post-Processor"
---

# Docker Push Post-Processor

Type: `docker-push`

The Docker push post-processor takes an artifact from the
[docker-import](/docs/post-processors/docker-import.html) post-processor
and pushes it to a Docker registry.

## Configuration

16 17 18 19 20 21 22 23 24 25 26 27
This post-processor has only optional configuration:

* `login` (boolean) - Defaults to false. If true, the post-processor will
    login prior to pushing.

* `login_email` (string) - The email to use to authenticate to login.

* `login_username` (string) - The username to use to authenticate to login.

* `login_password` (string) - The password to use to authenticate to login.

* `login_server` (string) - The server address to login to.
28

29 30 31 32 33 34
<div class="alert alert-info alert-block">
<strong>Note:</strong> If you login using the credentials above, the
post-processor will automatically log you out afterwards (just the server
specified).
</div>

35 36 37 38
## Example

For an example of using docker-push, see the section on using
generated artifacts from the [docker builder](/docs/builders/docker.html).