steps:
- id: 'build'
  name: 'gcr.io/cloud-builders/go:1.10'
  env: ['PROJECT_ROOT=drone-gcloud-helm']
  args: ['install', '.']

- id: 'image'
  name: 'gcr.io/cloud-builders/docker'
  args:
  - 'build'
  - '--tag=gcr.io/$PROJECT_ID/drone-gcloud-helm:$SHORT_SHA'
  - '--tag=gcr.io/$PROJECT_ID/drone-gcloud-helm:latest'
  - '.'

images:
- 'gcr.io/$PROJECT_ID/drone-gcloud-helm:$SHORT_SHA'
- 'gcr.io/$PROJECT_ID/drone-gcloud-helm:latest'

steps:
- id: 'build'
  name: 'gcr.io/lovoo-ci/cloud-builders-go:1.10'
  env: ['PROJECT_ROOT=drone-gcloud-helm']
  args: ['install', '.']

- id: 'image'
  name: 'gcr.io/cloud-builders/docker'
  args:
  - 'build'
  - '--tag=gcr.io/$PROJECT_ID/drone-gcloud-helm:$SHORT_SHA'
  - '--tag=gcr.io/$PROJECT_ID/drone-gcloud-helm:latest'
  - '.'

images:
- 'gcr.io/$PROJECT_ID/drone-gcloud-helm:$SHORT_SHA'
- 'gcr.io/$PROJECT_ID/drone-gcloud-helm:latest'

Revert "use google repo for the go image"
Revert "use google repo for the go image"
