drop.chapril.org-firefoxsend/circle.yml
2017-06-22 12:56:07 -07:00

23 lines
512 B
YAML

machine:
node:
version: 8.0.0
deployment:
latest:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker build . -t mozilla/fileshare:latest
- docker push mozilla/fileshare:latest
tags:
tags: /.*/
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker build . -t mozilla/fileshare:$CIRCLE_TAG
- docker push mozilla/fileshare:$CIRCLE_TAG
test:
override:
- npm run lint
- npm test