File tree
Expand file treeCollapse file tree1 file changed
+24
-0
lines changed Expand file treeCollapse file tree1 file changed
+24
-0
lines changed Original file line number | Diff line number | Diff line change |
---|
|
| 1 | +machine: |
| 2 | +services: |
| 3 | +- docker |
| 4 | +environment: |
| 5 | +CLOUDSDK_CORE_DISABLE_PROMPTS: 1 |
| 6 | +image_name: codeclimate-csslint |
| 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 |
| 14 | + |
| 15 | +test: |
| 16 | +override: |
| 17 | +- docker build -t=$registry_root/$image_name:b$CIRCLE_BUILD_NUM . |
| 18 | + |
| 19 | +deployment: |
| 20 | +registry: |
| 21 | +branch: master |
| 22 | +commands: |
| 23 | +- docker push $registry_root/$image_name:b$CIRCLE_BUILD_NUM |
| 24 | + |
You can’t perform that action at this time.
0 commit comments