updated .drone.yml
This commit is contained in:
parent
e341b56267
commit
d26b7a5ebc
@ -9,6 +9,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
|
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
|
||||||
environment:
|
environment:
|
||||||
|
CGO_ENABLED: 1
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: amd64
|
GOARCH: amd64
|
||||||
GOOPTIONS: -mod=vendor
|
GOOPTIONS: -mod=vendor
|
||||||
@ -23,6 +24,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
|
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
|
||||||
environment:
|
environment:
|
||||||
|
CGO_ENABLED: 1
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: arm64
|
GOARCH: arm64
|
||||||
GOOPTIONS: -mod=vendor
|
GOOPTIONS: -mod=vendor
|
||||||
@ -46,6 +48,7 @@ steps:
|
|||||||
- tar -czvf $PROJECTNAME-$DRONE_TAG-$GOOS-$GOARCH.tar.gz $PROJECTNAME
|
- tar -czvf $PROJECTNAME-$DRONE_TAG-$GOOS-$GOARCH.tar.gz $PROJECTNAME
|
||||||
- echo $PROJECTNAME $DRONE_TAG > VERSION
|
- echo $PROJECTNAME $DRONE_TAG > VERSION
|
||||||
environment:
|
environment:
|
||||||
|
CGO_ENABLED: 1
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: amd64
|
GOARCH: amd64
|
||||||
GOOPTIONS: -mod=vendor
|
GOOPTIONS: -mod=vendor
|
||||||
@ -61,6 +64,7 @@ steps:
|
|||||||
- tar -czvf $PROJECTNAME-$DRONE_TAG-$GOOS-$GOARCH.tar.gz $PROJECTNAME
|
- tar -czvf $PROJECTNAME-$DRONE_TAG-$GOOS-$GOARCH.tar.gz $PROJECTNAME
|
||||||
- echo $PROJECTNAME $DRONE_TAG > VERSION
|
- echo $PROJECTNAME $DRONE_TAG > VERSION
|
||||||
environment:
|
environment:
|
||||||
|
CGO_ENABLED: 1
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: arm64
|
GOARCH: arm64
|
||||||
GOOPTIONS: -mod=vendor
|
GOOPTIONS: -mod=vendor
|
||||||
|
Loading…
Reference in New Issue
Block a user