File tree Expand file tree Collapse file tree 3 files changed +58
-0
lines changed Expand file tree Collapse file tree 3 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 1
1
.vscode /*
2
2
.idea /*
3
3
kubernetes-ingress
4
+ dist /
Original file line number Diff line number Diff line change
1
+ # Copyright 2019 HAProxy Technologies LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http:#www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ before :
15
+ hooks :
16
+ - go mod tidy
17
+ builds :
18
+ - env :
19
+ - CGO_ENABLED=0
20
+ binary : haproxy-ingress-controller
21
+ id : my-build
22
+ ldflags :
23
+ - -X "main.GitRepo={{.GitURL}}"
24
+ - -X "main.GitTag={{.Tag}}"
25
+ - -X "main.GitCommit={{.ShortCommit}}"
26
+ - -X "main.GitDirty= "
27
+ - -X "main.BuildTime={{.Date}}"
28
+ goos :
29
+ - linux
30
+ - darwin
31
+ - freebsd
32
+ goarch :
33
+ - 386
34
+ - amd64
35
+ - arm
36
+ - arm64
37
+ - ppc64le
38
+ - s390x
39
+ archives :
40
+ - name_template : " {{.Binary}}_{{.Version}}_{{.Os}}_{{.Arch}}"
41
+ replacements :
42
+ darwin : Darwin
43
+ linux : Linux
44
+ 386 : i386
45
+ amd64 : x86_64
46
+ freebsd : FreeBSD
47
+ checksum :
48
+ name_template : ' checksums.txt'
49
+ snapshot :
50
+ name_template : " {{ .Tag }}-next"
51
+ release :
52
+ draft : true
53
+ name_template : " HAProxy Ingress Controller v{{.Version}}"
Original file line number Diff line number Diff line change @@ -33,3 +33,7 @@ example-remove:
33
33
.PHONY : build
34
34
build :
35
35
docker build -t haproxytech/kubernetes-ingress -f build/Dockerfile .
36
+
37
+ .PHONY : publish
38
+ publish :
39
+ goreleaser release --rm-dist
You can’t perform that action at this time.
0 commit comments