Commit e9611dfb authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

website: update docker-push

parent 56d22ac9
...@@ -11,12 +11,6 @@ The Docker push post-processor takes an artifact from the ...@@ -11,12 +11,6 @@ The Docker push post-processor takes an artifact from the
[docker-import](/docs/post-processors/docker-import.html) post-processor [docker-import](/docs/post-processors/docker-import.html) post-processor
and pushes it to a Docker registry. and pushes it to a Docker registry.
<div class="alert alert-info alert-block">
<strong>Before you use this,</strong> you must manually <code>docker login</code>
to the proper repository. A future version of Packer will automate this
for you, but for now you must manually do this.
</div>
## Configuration ## Configuration
This post-processor has only optional configuration: This post-processor has only optional configuration:
...@@ -32,6 +26,12 @@ This post-processor has only optional configuration: ...@@ -32,6 +26,12 @@ This post-processor has only optional configuration:
* `login_server` (string) - The server address to login to. * `login_server` (string) - The server address to login to.
<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>
## Example ## Example
For an example of using docker-push, see the section on using For an example of using docker-push, see the section on using
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment