16 lines
313 B
YAML
16 lines
313 B
YAML
workspace:
|
|
base: /srv/drone-demo
|
|
path: .
|
|
|
|
pipeline:
|
|
build:
|
|
image: golang
|
|
# pull: true
|
|
commands:
|
|
- pwd
|
|
- ls
|
|
- go env -w GOPROXY=https://goproxy.io,direct
|
|
- go get -u github.com/aliyun/alibaba-cloud-sdk-go/sdk
|
|
- go mod init alidns
|
|
- go build alidns.go
|