Skip to content

Commit

Permalink
configured build and deploy for production
Browse files Browse the repository at this point in the history
  • Loading branch information
Zack Siri committed Aug 2, 2016
1 parent c3a92e6 commit 23bd099
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@ publish:
email: [email protected]
repo: codemy/moviedb
tag: latest
when:
branch: master

docker:
storage_driver: overlay
username: zacksiri
password: $$DOCKER_HUB_PASSWORD
email: [email protected]
repo: codemy/moviedb
tag: $$TAG
when:
event: tag

deploy:
rancher:
Expand All @@ -40,12 +52,33 @@ deploy:
secret_key: 6ESn1FhSsK7ptTTLnSyS9LT11RCyQKAgEaWr8pDL
service: moviedb/web
docker_image: codemy/moviedb:latest
when:
branch: master

deploy:
rancher:
url: http://139.162.43.181:8080/v1/projects/1a5
access_key: 331394D5CCCEA7E2BE53
secret_key: 6ESn1FhSsK7ptTTLnSyS9LT11RCyQKAgEaWr8pDL
service: moviedb/worker
docker_image: codemy/moviedb:latest
when:
branch: master

rancher:
url: http://139.162.43.181:8080/v1/projects/1a27
access_key: 11DA23F40759A1A305F5
secret_key: xvidTFM5aKdFVFkBBgQvbiYqMcS99NR1eUTZAJG1
service: moviedb/web
docker_image: codemy/moviedb:$$TAG
when:
event: tag

rancher:
url: http://139.162.43.181:8080/v1/projects/1a27
access_key: 11DA23F40759A1A305F5
secret_key: xvidTFM5aKdFVFkBBgQvbiYqMcS99NR1eUTZAJG1
service: moviedb/worker
docker_image: codemy/moviedb:$$TAG
when:
event: tag

0 comments on commit 23bd099

Please sign in to comment.