File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -3,22 +3,21 @@ machine:
3
3
- docker
4
4
environment :
5
5
CLOUDSDK_CORE_DISABLE_PROMPTS : 1
6
- image_name : codeclimate-csslint
7
6
8
7
dependencies :
9
- pre :
8
+ override :
10
9
- echo $gcloud_json_key_base64 | sed 's/ //g' | base64 -d > /tmp/gcloud_key.json
11
10
- 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
11
15
12
test :
16
13
override :
17
- - docker build -t=$registry_root/$image_name :b$CIRCLE_BUILD_NUM .
14
+ - docker build -t=$registry_root/$CIRCLE_PROJECT_REPONAME :b$CIRCLE_BUILD_NUM .
18
15
19
16
deployment :
20
17
registry :
21
18
branch : master
22
19
commands :
20
+ - gcloud auth activate-service-account --key-file /tmp/gcloud_key.json
21
+ - gcloud docker -a
23
22
- docker push $registry_root/$image_name:b$CIRCLE_BUILD_NUM
24
23
You can’t perform that action at this time.
0 commit comments