.drone.yml 368 B

123456789101112131415
  1. kind: pipeline
  2. type: docker
  3. name: default
  4. steps:
  5. - name: build
  6. image: node:14.21.3-bullseye
  7. commands:
  8. - npm i --registry=https://registry.npmmirror.com
  9. - npm run build:prod
  10. - git rev-parse --short HEAD > dist/version
  11. - name: docker
  12. image: plugins/docker
  13. settings:
  14. repo: reg.cestong.com.cn/cecf/observe-front
  15. insecure: true