-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
82 lines (75 loc) · 1.88 KB
/
Copy path.goreleaser.yaml
File metadata and controls
82 lines (75 loc) · 1.88 KB
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
version: 2
builds:
- main: ./cmd/toktap
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w
- -X main.version={{.Version}}
- -X main.commit={{.ShortCommit}}
- -X main.date={{.Date}}
archives:
- formats: [tar.gz]
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- README.md
- LICENSE
- deploy/config/*
checksum:
name_template: checksums.txt
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "^chore:"
- Merge pull request
- Merge branch
brews:
- name: toktap
homepage: "https://github.com/voska/toktap"
description: "Transparent proxy that taps LLM API traffic to extract token usage metrics"
license: "MIT"
repository:
owner: voska
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: voska-bot
email: bot@voska.dev
install: |
bin.install "toktap"
test: |
system "#{bin}/toktap", "--version"
dockers:
- image_templates:
- "ghcr.io/voska/toktap:{{ .Version }}-amd64"
dockerfile: Dockerfile.goreleaser
use: buildx
build_flag_templates:
- "--platform=linux/amd64"
goarch: amd64
- image_templates:
- "ghcr.io/voska/toktap:{{ .Version }}-arm64"
dockerfile: Dockerfile.goreleaser
use: buildx
build_flag_templates:
- "--platform=linux/arm64"
goarch: arm64
docker_manifests:
- name_template: "ghcr.io/voska/toktap:{{ .Version }}"
image_templates:
- "ghcr.io/voska/toktap:{{ .Version }}-amd64"
- "ghcr.io/voska/toktap:{{ .Version }}-arm64"
- name_template: "ghcr.io/voska/toktap:latest"
image_templates:
- "ghcr.io/voska/toktap:{{ .Version }}-amd64"
- "ghcr.io/voska/toktap:{{ .Version }}-arm64"