From b8087ff4d980b66bb433e91873f8bcf8b89081fe Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 18 Mar 2024 18:53:05 +0100 Subject: [PATCH] Changed go build --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 4ee6682..7093121 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -8,7 +8,7 @@ pipeline: - GOOS=linux - GOARCH=amd64 commands: - - go build . + - go build -ldflags -s -w -X main.version=${CI_COMMIT_TAG}" -trimpath -o release/ubnt-freifunk-map-api . docker: image: woodpeckerci/plugin-docker-buildx