-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcircle.yml
24 lines (22 loc) · 1.09 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
machine:
services:
- docker
dependencies:
override:
- npm install truffle -g
- npm install punch -g
- go get github.com/constabulary/gb/...
- make
- docker info
- docker build -t mustwin/tinypay-web:latest -f web/Dockerfile.nginx ./web
- docker build -t mustwin/tinypay-oracle:latest -f oracles/Dockerfile ./oracles
deployment:
prod:
branch: master
commands:
- docker login -u slapbassist -p 4820e7670ea705bbc3bc027065e9d86914744671 -e [email protected] slapbassist-docker-tinypay-web.bintray.io
- docker tag mustwin/tinypay-web:latest slapbassist-docker-tinypay-web.bintray.io/mustwin/tinypay-web:latest
- docker push slapbassist-docker-tinypay-web.bintray.io/mustwin/tinypay-web:latest
- docker login -u slapbassist -p 4820e7670ea705bbc3bc027065e9d86914744671 -e [email protected] slapbassist-docker-tinypay-oracle.bintray.io
- docker tag mustwin/tinypay-oracle:latest slapbassist-docker-tinypay-oracle.bintray.io/mustwin/tinypay-oracle:latest
- docker push slapbassist-docker-tinypay-oracle.bintray.io/mustwin/tinypay-oracle:latest