mirror of
https://github.com/thegeeklab/wp-s3-action.git
synced 2024-11-22 11:10:39 +00:00
Dropped netgo build tag, default since go 1.5
This commit is contained in:
parent
cb0080349d
commit
b541ced6f7
@ -17,7 +17,7 @@ pipeline:
|
|||||||
- GOARCH=amd64
|
- GOARCH=amd64
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
commands:
|
commands:
|
||||||
- go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/drone-s3-sync
|
- go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/amd64/drone-s3-sync
|
||||||
|
|
||||||
build_linux_arm64:
|
build_linux_arm64:
|
||||||
image: golang:1.9
|
image: golang:1.9
|
||||||
@ -27,7 +27,7 @@ pipeline:
|
|||||||
- GOARCH=arm64
|
- GOARCH=arm64
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
commands:
|
commands:
|
||||||
- go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm64/drone-s3-sync
|
- go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/arm64/drone-s3-sync
|
||||||
|
|
||||||
build_linux_arm:
|
build_linux_arm:
|
||||||
image: golang:1.9
|
image: golang:1.9
|
||||||
@ -38,7 +38,7 @@ pipeline:
|
|||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
- GOARM=7
|
- GOARM=7
|
||||||
commands:
|
commands:
|
||||||
- go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm/drone-s3-sync
|
- go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/arm/drone-s3-sync
|
||||||
|
|
||||||
# build_windows_amd64:
|
# build_windows_amd64:
|
||||||
# image: golang:1.9-nanoserver
|
# image: golang:1.9-nanoserver
|
||||||
@ -48,7 +48,7 @@ pipeline:
|
|||||||
# - GOARCH=amd64
|
# - GOARCH=amd64
|
||||||
# - CGO_ENABLED=0
|
# - CGO_ENABLED=0
|
||||||
# commands:
|
# commands:
|
||||||
# - go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/windows/amd64/drone-s3-sync
|
# - go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/drone-s3-sync
|
||||||
|
|
||||||
publish_linux_amd64:
|
publish_linux_amd64:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
Loading…
Reference in New Issue
Block a user