Project Amber web / mobile client https://git.tdem.in/tdemin/amber
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
580 B

kind: pipeline
name: Build & lint
steps:
- name: lint & test
image: node:10-alpine
environment:
CI: true
commands:
- node -v
- yarn install
- yarn lint
- yarn test
when:
event:
- push
branch:
exclude:
- master
- name: deploy to registry
image: plugins/docker
settings:
username:
from_secret: username
password:
from_secret: password
repo: registry.git.tdem.in/amber_web
registry: registry.git.tdem.in
dockerfile: Dockerfile
tags:
- ${DRONE_TAG}
- latest
when:
event:
- tag