File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -3,21 +3,23 @@ machine:
33 - docker
44 environment :
55 CLOUDSDK_CORE_DISABLE_PROMPTS : 1
6- image_name : codeclimate-fixme
7-
8- dependencies :
9- pre :
10- - echo $gcloud_json_key_base64 | sed 's/ //g' | base64 -d > /tmp/gcloud_key.json
11- - curl https://sdk.cloud.google.com | bash
12- - gcloud auth activate-service-account $gcloud_account_email --key-file /tmp/gcloud_key.json
13- - gcloud docker -a
6+ PRIVATE_REGISTRY : us.gcr.io/code_climate
147
158test :
169 override :
17- - docker build -t=$registry_root/$image_name :b$CIRCLE_BUILD_NUM .
10+ - docker build -t=$PRIVATE_REGISTRY/$CIRCLE_PROJECT_REPONAME :b$CIRCLE_BUILD_NUM .
1811
1912deployment :
2013 registry :
2114 branch : master
15+ owner : codeclimate
2216 commands :
23- - docker push $registry_root/$image_name:b$CIRCLE_BUILD_NUM
17+ - echo $GCLOUD_JSON_KEY_BASE64 | sed 's/ //g' | base64 -d > /tmp/gcloud_key.json
18+ - curl https://sdk.cloud.google.com | bash
19+ - gcloud auth activate-service-account --key-file /tmp/gcloud_key.json
20+ - gcloud docker -a
21+ - docker push $PRIVATE_REGISTRY/$CIRCLE_PROJECT_REPONAME:b$CIRCLE_BUILD_NUM
22+
23+ notify :
24+ webhooks :
25+ - url : https://cc-slack-proxy.herokuapp.com/circle
You can’t perform that action at this time.
0 commit comments