@marcel91200 / caddy Mirror · read-only / commits / 3f5d27cd
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 14, 05:15 UTC

ci: Optimize published artifacts (#3118)

Build the published executables with CGO disabled, stripped, and with `-trimpath` for more reproducible build

Matt Holt committed Mar 4, 2020 at 13:19 UTC 3f5d27cd5da8f3ad53e4b794d34703922c9b824e
1 file changed +1 -1
azure-pipelines.yml
+1 -1
@@ -100,7 +100,7 @@ jobs:
100 workingDirectory: '$(modulePath)'
101 displayName: Get dependencies
102
103 - - bash: go build -v
103 + - bash: CGO_ENABLED=0 go build -trimpath -a -ldflags="-w -s" -v
104 workingDirectory: '$(modulePath)/cmd/caddy'
105 displayName: Build Caddy
106