diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 50d092b..c5ff40c 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -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"