forked from thanos-io/thanos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.promu.yml
19 lines (19 loc) · 757 Bytes
/
.promu.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
repository:
path: github.com/improbable-eng/thanos
build:
binaries:
- name: thanos
path: ./cmd/thanos
flags: -a -tags netgo
ldflags: |
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
crossbuild:
platforms:
- linux/amd64
- darwin/amd64
- linux/arm64
- windows/amd64