Update cloudbuild.
This commit is contained in:
parent
0cc1e7581c
commit
00433bc8d1
1 changed files with 8 additions and 2 deletions
|
@ -1,9 +1,15 @@
|
||||||
steps:
|
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'
|
- name: 'gcr.io/cloud-builders/docker'
|
||||||
args:
|
args:
|
||||||
- build
|
- build
|
||||||
- "--tag=gcr.io/pebble-rebirth/weather:$TAG_NAME"
|
- "--tag=gcr.io/pebble-rebirth/weather:g$SHORT_SHA"
|
||||||
- "--file=./Dockerfile.cloudrun"
|
- "--file=./Dockerfile.cloudrun"
|
||||||
- .
|
- .
|
||||||
images:
|
images:
|
||||||
- "gcr.io/pebble-rebirth/weather"
|
- "gcr.io/pebble-rebirth/weather:g$SHORT_SHA"
|
||||||
|
|
Reference in a new issue