File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Build
22
33on :
44 push :
5- branches : ["*"]
5+ branches : ["** "]
66
77jobs :
88 build :
Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ jobs:
3333 username : ${{ secrets.DOCKER_USER }}
3434 password : ${{ secrets.DOCKER_PASS }}
3535 - name : Release
36- uses : goreleaser/goreleaser-action@v1
36+ uses : goreleaser/goreleaser-action@v6
3737 env :
3838 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3939 with :
4040 version : latest
41- args : release
41+ args : release --clean
4242 - name : " Configure AWS Credentials"
4343 uses : aws-actions/configure-aws-credentials@v1
4444 with :
Original file line number Diff line number Diff line change 1+ version : 2
2+
13builds :
24 - env :
35 - CGO_ENABLED=0
@@ -7,24 +9,18 @@ builds:
79 - darwin
810 ldflags :
911 - -s -w -X github.com/codacy/pulse-event-cli/internal/build.Version={{.Version}} -X github.com/codacy/pulse-event-cli/internal/build.Date={{time "2006-01-02"}}
10- archives :
11- - replacements :
12- darwin : Darwin
13- linux : Linux
14- windows : Windows
15- 386 : i386
1612checksum :
1713 name_template : " checksums.txt"
1814snapshot :
19- name_template : " {{ .Tag }}"
15+ version_template : " {{ .Tag }}"
2016changelog :
2117 sort : asc
2218 filters :
2319 exclude :
2420 - " ^docs:"
2521 - " ^test:"
26- dockers :
27- - image_templates :
22+ dockers_v2 :
23+ - images :
2824 - " codacy/pulse-event-cli:{{ .Tag }}"
2925 - " codacy/pulse-event-cli:v{{ .Major }}"
3026 - " codacy/pulse-event-cli:v{{ .Major }}.{{ .Minor }}"
You can’t perform that action at this time.
0 commit comments