Fix CI
This commit is contained in:
parent
7f876659db
commit
9e9d9af6bb
|
@ -7,6 +7,7 @@ stages:
|
|||
|
||||
build-windows-amd64:
|
||||
image: golang:alpine
|
||||
stage: build
|
||||
script:
|
||||
- go get -d
|
||||
- GOOS=windows go build -o godns.exe
|
||||
|
@ -16,6 +17,7 @@ build-windows-amd64:
|
|||
|
||||
build-linux-amd64:
|
||||
image: golang:alpine
|
||||
stage: build
|
||||
script:
|
||||
- go get -d
|
||||
- GOOS=linux go build -o godns
|
||||
|
@ -25,6 +27,7 @@ build-linux-amd64:
|
|||
|
||||
build-linux-arm:
|
||||
image: golang:alpine
|
||||
stage: build
|
||||
script:
|
||||
- go get -d
|
||||
- GOARCH=arm GOOS=linux go build -o godns-arm
|
||||
|
@ -34,6 +37,7 @@ build-linux-arm:
|
|||
|
||||
build-linux-arm64:
|
||||
image: golang
|
||||
stage: build
|
||||
script:
|
||||
- go get -d
|
||||
- GOARCH=arm64 GOOS=linux go build -o godns-arm64
|
||||
|
|
Loading…
Reference in New Issue