mirror of
https://github.com/itzg/mc-router.git
synced 2024-11-21 11:25:41 +01:00
ci: fix deprecated goreleaser fields
This commit is contained in:
parent
44a67dd359
commit
1d23d84d47
@ -15,35 +15,27 @@ builds:
|
||||
- windows
|
||||
goarch:
|
||||
- amd64
|
||||
- "386"
|
||||
goarm:
|
||||
- "6"
|
||||
main: cmd/mc-router/main.go
|
||||
binary: mc-router
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
archive:
|
||||
format: tar.gz
|
||||
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
|
||||
.Arm }}{{ end }}'
|
||||
files:
|
||||
- licence*
|
||||
- LICENCE*
|
||||
- license*
|
||||
- LICENSE*
|
||||
- readme*
|
||||
- README*
|
||||
- changelog*
|
||||
- CHANGELOG*
|
||||
archives:
|
||||
- id: tar_gz
|
||||
format: tar.gz
|
||||
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
||||
files:
|
||||
- LICENSE*
|
||||
- README*
|
||||
snapshot:
|
||||
name_template: SNAPSHOT-{{ .Commit }}
|
||||
dockers:
|
||||
- goos: linux
|
||||
- image_templates:
|
||||
- "itzg/mc-router:latest"
|
||||
- "itzg/mc-router:{{.Tag}}"
|
||||
goos: linux
|
||||
goarch: amd64
|
||||
image: itzg/mc-router
|
||||
tag_templates:
|
||||
- "{{.Tag}}"
|
||||
- latest
|
||||
changelog:
|
||||
filters:
|
||||
exclude:
|
||||
|
Loading…
Reference in New Issue
Block a user