-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
63 lines (57 loc) · 1.42 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
version: 2
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
main: .
binary: gitea-config-wave
ldflags:
- -s -w -X main.version={{.Version}}
archives:
- files:
- README.md
- LICENSE*
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
- '^chore:'
- Merge pull request
- Merge branch
brews:
- name: gitea-config-wave
homepage: "https://github.com/DUALSTACKS/gitea-config-wave"
description: "CLI tool to manage Gitea repository settings at scale"
repository:
owner: DUALSTACKS
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: goreleaserbot
email: bot@goreleaser.com
install: |
bin.install "gitea-config-wave"
test: |
system "#{bin}/gitea-config-wave --version"
dockers:
- image_templates:
- "ghcr.io/dualstacks/gitea-config-wave:{{ .Version }}"
- "ghcr.io/dualstacks/gitea-config-wave:latest"
dockerfile: Dockerfile.goreleaser
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}}"