2017-06-19 21:30:04 +00:00
|
|
|
machine:
|
|
|
|
node:
|
|
|
|
version: 8.0.0
|
2017-06-22 22:19:18 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2017-06-19 21:30:04 +00:00
|
|
|
|
2017-06-20 22:48:36 +00:00
|
|
|
deployment:
|
|
|
|
latest:
|
|
|
|
branch: master
|
|
|
|
commands:
|
|
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
2017-06-22 22:34:43 +00:00
|
|
|
- docker build -t mozilla/fileshare:latest .
|
2017-06-22 19:56:07 +00:00
|
|
|
- docker push mozilla/fileshare:latest
|
|
|
|
tags:
|
|
|
|
tags: /.*/
|
|
|
|
commands:
|
|
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
2017-06-22 22:26:26 +00:00
|
|
|
- docker build -t mozilla/fileshare:$CIRCLE_TAG .
|
2017-06-22 19:56:07 +00:00
|
|
|
- docker push mozilla/fileshare:$CIRCLE_TAG
|
2017-06-20 19:18:14 +00:00
|
|
|
|
|
|
|
test:
|
|
|
|
override:
|
|
|
|
- npm run lint
|
|
|
|
- npm test
|