github.com/cloudfoundry-attic/garden-linux@v0.333.2-candidate/packer/garden-ci/release_docker.json (about)

     1  {
     2    "variables": {
     3      "version": "",
     4      "login_username": "{{env `GARDEN_PACKER_DOCKER_USERNAME`}}",
     5      "login_email": "{{env `GARDEN_PACKER_DOCKER_EMAIL`}}",
     6      "login_password": "{{env `GARDEN_PACKER_DOCKER_PASSWORD`}}"
     7    },
     8    "builders": [
     9      {
    10        "type": "docker",
    11        "image": "garden-ci-ubuntu:packer",
    12        "pull": false,
    13        "commit": true
    14      }
    15    ],
    16    "post-processors": [
    17      {
    18          "type": "docker-tag",
    19          "repository": "cloudfoundry/garden-ci-ubuntu",
    20          "tag": "latest",
    21          "force": true
    22      },
    23      [
    24        {
    25          "type": "docker-tag",
    26          "repository": "cloudfoundry/garden-ci-ubuntu",
    27          "tag": "{{user `version`}}"
    28        },
    29        {
    30          "type": "docker-push",
    31          "login": true,
    32          "login_username": "{{user `login_username`}}",
    33          "login_email": "{{user `login_email`}}",
    34          "login_password": "{{user `login_password`}}"
    35        }
    36      ]
    37    ]
    38  }