0
0
mirror of https://github.com/thegeeklab/wp-s3-action.git synced 2024-11-25 00:10:39 +00:00

Dropped netgo build tag, default since go 1.5

This commit is contained in:
Thomas Boerger 2017-08-29 23:04:22 +02:00
parent cb0080349d
commit b541ced6f7
No known key found for this signature in database
GPG Key ID: 5A388F55283960B6

View File

@ -17,7 +17,7 @@ pipeline:
- GOARCH=amd64
- CGO_ENABLED=0
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:
image: golang:1.9
@ -27,7 +27,7 @@ pipeline:
- GOARCH=arm64
- CGO_ENABLED=0
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:
image: golang:1.9
@ -38,7 +38,7 @@ pipeline:
- CGO_ENABLED=0
- GOARM=7
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:
# image: golang:1.9-nanoserver
@ -48,7 +48,7 @@ pipeline:
# - GOARCH=amd64
# - CGO_ENABLED=0
# 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:
image: plugins/docker