summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azure-pipelines.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 0695417..21be1f1 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -100,7 +100,7 @@ jobs:
workingDirectory: '$(modulePath)'
displayName: Get dependencies
- - bash: go build -v
+ - bash: CGO_ENABLED=0 go build -trimpath -a -ldflags="-w -s" -v
workingDirectory: '$(modulePath)/cmd/caddy'
displayName: Build Caddy