.drone.yml 515 B

1234567891011121314151617181920212223242526
  1. kind: pipeline
  2. type: kubernetes
  3. name: book-api
  4. clone:
  5. disable: true
  6. metadata:
  7. namespace: drone
  8. steps:
  9. - name: clone
  10. image: hub.evbj.easou.com/dev/alpine-git:20200622
  11. commands:
  12. - git clone --depth=1 $DRONE_GIT_HTTP_URL .
  13. - name: build
  14. image: plugins/docker
  15. settings:
  16. username: admin
  17. password: Easou2)1*
  18. insecure: true
  19. mirror: https://ci7pm4nx.mirror.aliyuncs.com
  20. registry: hub.evbj.easou.com
  21. repo: hub.evbj.easou.com/pro/${DRONE_REPO_NAME}
  22. tag: v3.0.0-apm