.drone.yml 375 B

1234567891011121314151617
  1. clone:
  2. depth: 1
  3. recursive: true
  4. path: light-dauth
  5. build:
  6. image: docker.i2edu.net/golang:1.13
  7. commands:
  8. - godep
  9. - CGO_ENABLED=0 go build -a -ldflags '-s'
  10. - tar zcf light-dauth.tar.gz light-dauth
  11. publish:
  12. docker:
  13. registry: docker.qianqiusoft.com
  14. email: develop@qianqiusoft.com
  15. repo: docker.qianqiusoft.com/light-dauth
  16. tag:
  17. - latest