Update cloudbuild.

This commit is contained in:
Joshua Wise 2020-03-12 03:17:15 -04:00
parent 0cc1e7581c
commit 00433bc8d1

View file

@ -1,9 +1,15 @@
steps:
- name: 'busybox'
args:
- sh
- -c
- |
echo '{"git": {"revisionId": "$REVISION_ID", "url": "git@github.com:pebble-dev/rebble-weather.git"}}' > source-context.json
- name: 'gcr.io/cloud-builders/docker'
args:
- build
- "--tag=gcr.io/pebble-rebirth/weather:$TAG_NAME"
- "--tag=gcr.io/pebble-rebirth/weather:g$SHORT_SHA"
- "--file=./Dockerfile.cloudrun"
- .
images:
- "gcr.io/pebble-rebirth/weather"
- "gcr.io/pebble-rebirth/weather:g$SHORT_SHA"