Skip to content

Commit 0f1fc70

Browse files
committed
Added deployment section based on tags
1 parent 3b36f96 commit 0f1fc70

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

circle.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
machine:
22
python:
33
version: 2.7.6
4-
# command to install dependencies
5-
#install:
6-
# - pip install .
7-
# command to run tests
8-
#script: python -m canari.unittests.__init__
4+
services:
5+
- docker
6+
7+
dependencies:
8+
override:
9+
- docker info
10+
- ./build_dockers.sh
11+
12+
deployment:
13+
release:
14+
tag: /v[0-9]+(\.[0-9]+)*/
15+
owner: redcanari
16+
commands:
17+
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
18+
- docker push redcanari/canari

0 commit comments

Comments
 (0)