forked from thingless/viewshed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
29 lines (28 loc) · 854 Bytes
/
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
machine:
node:
version: 0.10.34
services:
- docker
dependencies:
override:
- npm install
- npm run build
- docker build -t "freethenation/viewshed:none" .
test:
override:
- echo skipping tests
deployment:
master:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker tag -f freethenation/viewshed:none freethenation/viewshed:master
- docker push freethenation/viewshed:master
release:
branch: release
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker tag -f freethenation/viewshed:none freethenation/viewshed:1.0.0
- docker push freethenation/viewshed:1.0.0
- docker tag -f freethenation/viewshed:1.0.0 freethenation/viewshed:latest
- docker push freethenation/viewshed:latest