clone: depth: 50 recursive: true path: light-apiengine build: image: docker.qianqiusoft.com/golang:1.12 commands: - git clone https://git.qianqiusoft.com/qianqiusoft/light-apiengine.git $GOPATH/src/git.qianqiusoft.com/qianqiusoft/light-apiengine - git clone https://git.qianqiusoft.com/qianqiusoft/light-apiengine-client.git $GOPATH/src/git.qianqiusoft.com/qianqiusoft/light-apiengine-client - git clone https://github.com/dchest/captcha.git $GOPATH/src/github.com/dchest/captcha - godep - CGO_ENABLED=0 go build -a -ldflags '-s' - tar zcf light-apiengine.tar.gz conf sqlconfig doc web light-apiengine publish: docker: registry: docker.qianqiusoft.com email: develop@qianqiusoft.com repo: docker.qianqiusoft.com/light-apiengine tag: - latest