Update .drone.yml
parent
2885b939fa
commit
1b0ff27214
|
@ -15,6 +15,8 @@ pipeline:
|
||||||
build:
|
build:
|
||||||
image: golang:${GO_VERSION}
|
image: golang:${GO_VERSION}
|
||||||
pull: true
|
pull: true
|
||||||
|
environment:
|
||||||
|
- CGO_ENABLED=0
|
||||||
commands:
|
commands:
|
||||||
- export FILENAME=${DRONE_REPO_NAME}-${GOOS}-${GOARCH}
|
- export FILENAME=${DRONE_REPO_NAME}-${GOOS}-${GOARCH}
|
||||||
- if [ "$GOOS" = "windows" ]; then export FILENAME=$FILENAME.exe; fi
|
- if [ "$GOOS" = "windows" ]; then export FILENAME=$FILENAME.exe; fi
|
||||||
|
|
Loading…
Reference in New Issue