forked from leverj/staking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
40 lines (38 loc) · 1.14 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
machine:
node:
version: 8.9.1
services:
- docker
test:
override:
# - npm test
- truffle compile
- grunt
deployment:
hub:
branch: develop
commands:
- docker info
- docker build -t leverj/stake:develop .
- docker build -f Dockerfile-automation -t leverj/stake-automation:develop .
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push leverj/stake
- docker push leverj/stake-automation
master:
branch: master
commands:
- docker info
- docker build -t leverj/stake:livenet .
- docker build -f Dockerfile-automation -t leverj/stake-automation:livenet .
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push leverj/stake
- docker push leverj/stake-automation
testnet:
branch: testnet
commands:
- docker info
- docker build -t leverj/stake:testnet .
- docker build -f Dockerfile-automation -t leverj/stake-automation:testnet .
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push leverj/stake
- docker push leverj/stake-automation