Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 01a75b5

Browse files
committed
Fixup circle config
1 parent 7e8850a commit 01a75b5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

circle.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,21 @@ machine:
33
- docker
44
environment:
55
CLOUDSDK_CORE_DISABLE_PROMPTS: 1
6-
image_name: codeclimate-csslint
76

87
dependencies:
9-
pre:
8+
override:
109
- echo $gcloud_json_key_base64 | sed 's/ //g' | base64 -d > /tmp/gcloud_key.json
1110
- 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
1411

1512
test:
1613
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 .
1815

1916
deployment:
2017
registry:
2118
branch: master
2219
commands:
20+
- gcloud auth activate-service-account --key-file /tmp/gcloud_key.json
21+
- gcloud docker -a
2322
- docker push $registry_root/$image_name:b$CIRCLE_BUILD_NUM
2423

0 commit comments

Comments
 (0)