.drone.yml 623 B

1234567891011121314151617181920212223242526
  1. pipeline:
  2. build:
  3. image: docker.finogeeks.club/build/golang:1.11.1-alpine
  4. commands:
  5. - export GOPATH=/drone
  6. - export GO111MODULE=off
  7. - pwd
  8. - ls
  9. - go build -v
  10. - ls
  11. - pwd
  12. docker_latest:
  13. image: docker.finogeeks.club/drone/docker
  14. repo: docker.finogeeks.club/finochat/rcs-server
  15. dockerfile: Dockerfile
  16. when:
  17. branch: master
  18. event: [push, pull_request]
  19. docker_tag:
  20. image: docker.finogeeks.club/drone/docker
  21. repo: docker.finogeeks.club/finochat/rcs-server
  22. dockerfile: Dockerfile
  23. default_tags: true
  24. when:
  25. branch: master
  26. event: [tag]