Skip to content

Commit 1d23d84

Browse files
committed
ci: fix deprecated goreleaser fields
1 parent 44a67dd commit 1d23d84

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

.goreleaser.yml

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,35 +15,27 @@ builds:
1515
- windows
1616
goarch:
1717
- amd64
18-
- "386"
1918
goarm:
2019
- "6"
2120
main: cmd/mc-router/main.go
2221
binary: mc-router
2322
env:
2423
- CGO_ENABLED=0
25-
archive:
26-
format: tar.gz
27-
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
28-
.Arm }}{{ end }}'
29-
files:
30-
- licence*
31-
- LICENCE*
32-
- license*
33-
- LICENSE*
34-
- readme*
35-
- README*
36-
- changelog*
37-
- CHANGELOG*
24+
archives:
25+
- id: tar_gz
26+
format: tar.gz
27+
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
28+
files:
29+
- LICENSE*
30+
- README*
3831
snapshot:
3932
name_template: SNAPSHOT-{{ .Commit }}
4033
dockers:
41-
- goos: linux
34+
- image_templates:
35+
- "itzg/mc-router:latest"
36+
- "itzg/mc-router:{{.Tag}}"
37+
goos: linux
4238
goarch: amd64
43-
image: itzg/mc-router
44-
tag_templates:
45-
- "{{.Tag}}"
46-
- latest
4739
changelog:
4840
filters:
4941
exclude:

0 commit comments

Comments
 (0)