-
Notifications
You must be signed in to change notification settings - Fork 6
/
.goreleaser.yaml
102 lines (102 loc) · 3.45 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
project_name: khinsider
builds:
- binary: khinsider
ldflags:
- -s -w -X main.version=v{{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
goos:
- darwin
- linux
- windows
goarch:
- arm64
- amd64
archives:
- format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
nfpms:
- package_name: khinsider
vendor: utf9k
homepage: https://utf9k.net
maintainer: Marcus Crane <khinsider@utf9k.net>
description: "Easily fetch videogame soundtracks from downloads.khinsider.com"
license: "MIT"
formats:
- apk
- deb
- rpm
dockers:
- image_templates:
- "docker.io/utf9k/khinsider:{{ .Version }}-amd64"
- "ghcr.io/marcus-crane/khinsider:{{ .Version }}-amd64"
- "docker.io/utf9k/khinsider:latest-amd64"
- "ghcr.io/marcus-crane/khinsider:latest-amd64"
skip_push: auto
use: buildx
dockerfile: Dockerfile
build_flag_templates:
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source=https://github.com/marcus-crane/khinsider"
- "--platform=linux/amd64"
- image_templates:
- "docker.io/utf9k/khinsider:{{ .Version }}-arm64v8"
- "ghcr.io/marcus-crane/khinsider:{{ .Version }}-arm64v8"
- "docker.io/utf9k/khinsider:latest-arm64v8"
- "ghcr.io/marcus-crane/khinsider:latest-arm64v8"
skip_push: auto
use: buildx
goarch: arm64
dockerfile: Dockerfile
build_flag_templates:
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source=https://github.com/marcus-crane/khinsider"
- "--platform=linux/arm64/v8"
docker_manifests:
- name_template: docker.io/utf9k/khinsider:{{ .Version }}
image_templates:
- docker.io/utf9k/khinsider:{{ .Version }}-amd64
- docker.io/utf9k/khinsider:{{ .Version }}-arm64v8
skip_push: auto
- name_template: ghcr.io/marcus-crane/khinsider:{{ .Version }}
image_templates:
- ghcr.io/marcus-crane/khinsider:{{ .Version }}-amd64
- ghcr.io/marcus-crane/khinsider:{{ .Version }}-arm64v8
skip_push: auto
- name_template: docker.io/utf9k/khinsider:latest
image_templates:
- docker.io/utf9k/khinsider:latest-amd64
- docker.io/utf9k/khinsider:latest-arm64v8
skip_push: auto
- name_template: ghcr.io/marcus-crane/khinsider:latest
image_templates:
- ghcr.io/marcus-crane/khinsider:latest-amd64
- ghcr.io/marcus-crane/khinsider:latest-arm64v8
skip_push: auto
release:
github:
owner: marcus-crane
name: khinsider
prerelease: auto
brews:
- repository:
owner: marcus-crane
name: homebrew-tap
branch: main
folder: Formula
commit_author:
name: utf9k Release Bot
email: helper@utf9k.net
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://utf9k.net"
description: "Easily fetch videogame soundtracks from downloads.khinsider.com"
license: "MIT"
skip_upload: auto