mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-06 13:42:17 +00:00
Do not build with netgo on Windows
In prevision of upgrading to Go 1.19 which introduces a change on Windows platforms that may break users. See https://github.com/prometheus/prometheus/issues/11480 for details. Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
parent
30ae6b8038
commit
519f45efbd
@ -10,7 +10,11 @@ build:
|
||||
path: ./cmd/alertmanager
|
||||
- name: amtool
|
||||
path: ./cmd/amtool
|
||||
flags: -a -tags netgo
|
||||
flags: -a
|
||||
tags:
|
||||
all:
|
||||
- netgo
|
||||
windows: []
|
||||
ldflags: |
|
||||
-X github.com/prometheus/common/version.Version={{.Version}}
|
||||
-X github.com/prometheus/common/version.Revision={{.Revision}}
|
||||
|
Loading…
Reference in New Issue
Block a user