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
566B

  1. kind: pipeline
  2. name: Build & lint
  3. steps:
  4. - name: lint & test
  5. image: node:10-alpine
  6. environment:
  7. CI: true
  8. commands:
  9. - node -v
  10. - yarn install
  11. - yarn lint
  12. when:
  13. event:
  14. - push
  15. branch:
  16. exclude:
  17. - master
  18. - name: deploy to registry
  19. image: plugins/docker
  20. settings:
  21. username:
  22. from_secret: username
  23. password:
  24. from_secret: password
  25. repo: registry.git.tdem.in/amber_web
  26. registry: registry.git.tdem.in
  27. dockerfile: Dockerfile
  28. tags:
  29. - ${DRONE_TAG}
  30. - latest
  31. when:
  32. event:
  33. - tag