{
  "builders": [
    {
      "type": "docker",
      "name": "docker-ubuntu",
      "image": "ubuntu:14.04",
      "commit": true
    }
  ],
  "post-processors": [
    [
      {
        "type": "docker-tag",
        "repository": "{{user `project_name`}}",
        "tag": "{{user `project_version`}}"
      },
      {
        "type": "docker-tag",
        "repository": "{{user `project_name`}}",
        "tag": "latest"
      }
    ]
  ]
}

{
  "builders": [
    {
      "type": "docker",
      "name": "docker-ubuntu",
      "image": "ubuntu:14.04",
      "commit": true
    }
  ],
  "post-processors": [
    [
      {
        "type": "docker-tag",
        "repository": "nubisproject/{{user `project_name`}}-ubuntu",
        "tag": "{{user `project_version`}}"
      },
      {
        "type": "docker-tag",
        "repository": "nubisproject/{{user `project_name`}}-ubuntu",
        "tag": "latest",
        "force": true
      }
    ]
  ]
}

Clean up docker tagging a bit
Clean up docker tagging a bit
