parent
c4ce6e848c
commit
e81def80ac
22
.drone.yml
22
.drone.yml
@ -3,30 +3,9 @@ workspace:
|
|||||||
path: .
|
path: .
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
name: build_linux_amd64
|
|
||||||
build:
|
build:
|
||||||
image: golang
|
image: golang
|
||||||
environment:
|
|
||||||
GOOS: linux
|
|
||||||
GOARCH: amd64
|
|
||||||
# pull: true
|
|
||||||
commands:
|
|
||||||
- pwd
|
|
||||||
- ls
|
|
||||||
- go env -w GOPROXY=https://goproxy.io,direct
|
|
||||||
- go get -u github.com/aliyun/alibaba-cloud-sdk-go/services/alidns
|
|
||||||
- go mod init alidns
|
|
||||||
- go mod tidy
|
|
||||||
- go build alidns.go
|
|
||||||
- ls -al
|
|
||||||
|
|
||||||
pipeline:
|
|
||||||
name: build_windows_amd-64
|
|
||||||
build:
|
|
||||||
image: golang
|
|
||||||
environment:
|
|
||||||
GOOS: windows
|
|
||||||
GOARCH: amd64
|
|
||||||
# pull: true
|
# pull: true
|
||||||
commands:
|
commands:
|
||||||
- pwd
|
- pwd
|
||||||
@ -36,4 +15,3 @@ pipeline:
|
|||||||
- go mod init alidns
|
- go mod init alidns
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
- go build alidns.go
|
- go build alidns.go
|
||||||
- ls -al
|
|
||||||
|
Reference in New Issue
Block a user