drop.chapril.org-firefoxsend/circle.yml

28 lines
599 B
YAML
Raw Normal View History

machine:
node:
2017-06-23 01:26:08 +02:00
version: 8
2017-06-23 00:19:18 +02:00
services:
- docker
deployment:
latest:
branch: master
commands:
2017-06-24 02:55:39 +02:00
- npm run predocker
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
2017-06-23 00:34:43 +02:00
- docker build -t mozilla/fileshare:latest .
- docker push mozilla/fileshare:latest
tags:
2017-06-24 03:54:59 +02:00
tag: /.*/
owner: mozilla
commands:
2017-06-24 02:55:39 +02:00
- npm run predocker
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
2017-06-23 00:26:26 +02:00
- docker build -t mozilla/fileshare:$CIRCLE_TAG .
- docker push mozilla/fileshare:$CIRCLE_TAG
test:
override:
- npm run lint
- npm test