Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Add CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
tdemin committed Sep 9, 2019
1 parent 8ead15a commit a86ec64
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .drone.yml
@@ -0,0 +1,39 @@
kind: pipeline
name: Build & lint

steps:
- name: lint & test
image: node:10-alpine
environment:
CI: true
commands:
- node -v
- yarn install
- yarn run eslint src
when:
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
when:
branch:
exclude:
- develop
- backend
- feature/*

trigger:
event:
- push
- tag
- promote
- rollback

0 comments on commit a86ec64

Please sign in to comment.