Packer and Docker Push

Example using the docker-push post-processor to build a container with Packer and push to a private repository on Docker Hub.

"post-processors": [
[
{
"type": "docker-tag",
"repository": "example/repo",
"tag": "latest",
"force": "true"
},
{
"type": "docker-push",
"login": "true",
"login_username": "login",
"login_password": "password",
"login_email": "email"
}
]
]