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.

36 lines
580B

  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. - yarn test
  13. when:
  14. event:
  15. - push
  16. branch:
  17. exclude:
  18. - master
  19. - name: deploy to registry
  20. image: plugins/docker
  21. settings:
  22. username:
  23. from_secret: username
  24. password:
  25. from_secret: password
  26. repo: registry.git.tdem.in/amber_web
  27. registry: registry.git.tdem.in
  28. dockerfile: Dockerfile
  29. tags:
  30. - ${DRONE_TAG}
  31. - latest
  32. when:
  33. event:
  34. - tag