File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 7474 version : ${{ github.ref }}
7575 arch : ' x86_64'
7676 summary : " Cortex-Tenant Service"
77- homepage : " https://github.com/blind-oracle/cortex-tenant"
7877
7978 - uses : ncipollo/release-action@v1
8079 with :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ DESCRIPTION := Cortex tenant proxy
44URL := https://github.com/blind-oracle/cortex-tenant
55LICENSE := MPL
66
7- VERSION := $(shell cat VERSION )
7+ VERSION := $(shell git describe --exact-match --tags )
88RELEASE := 1
99
1010GO ?= go
1717 GOARCH=amd64 \
1818 GOOS=linux \
1919 CGO_ENABLED=0 \
20- $(GO ) build -ldflags " -s -w -extldflags \" -static\" -X main.version =$( VERSION) "
20+ $(GO ) build -ldflags " -s -w -extldflags \" -static\" -X main.Version =$( VERSION) "
2121
2222prepare :
2323 cd deploy && \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ type config struct {
4040 Label string `env:"CT_TENANT_LABEL"`
4141 LabelList []string `yaml:"label_list" env:"CT_TENANT_LABEL_LIST" envSeparator:","`
4242 Prefix string `yaml:"prefix" env:"CT_TENANT_PREFIX"`
43- PrefixPreferSource bool `yaml:"prefix_prefer_source" env:"CT_TENANT_PREFIX_PREFER_SOURCE`
43+ PrefixPreferSource bool `yaml:"prefix_prefer_source" env:"CT_TENANT_PREFIX_PREFER_SOURCE" `
4444 LabelRemove bool `yaml:"label_remove" env:"CT_TENANT_LABEL_REMOVE"`
4545 Header string `env:"CT_TENANT_HEADER"`
4646 Default string `env:"CT_TENANT_DEFAULT"`
You can’t perform that action at this time.
0 commit comments