forked from muety/mailwhale
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
47 lines (46 loc) · 1002 Bytes
/
.goreleaser.yaml
File metadata and controls
47 lines (46 loc) · 1002 Bytes
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
---
builds:
- id: mailwhale-builds
binary: mailwhale
dir: .
before:
hooks:
- sudo npm install -g yarn
- yarn --cwd webui
- yarn --cwd webui build
- cp config.default.yml config.yml
archives:
- id: mailwhale-archives
builds:
- mailwhale-builds
files:
- LICENSE
- README.md
- webui/public/*
- config.yml
- templates/*
- version.txt
name_template: >-
{{ .Binary }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
dockers:
- ids:
- mailwhale-builds
goos: linux
goarch: amd64
dockerfile: Dockerfile-goreleaser
extra_files:
- "version.txt"
- "config.yml"
- "LICENSE"
- "README.md"
- "templates/"
- "webui/"
image_templates:
- "ghcr.io/{{ .Env.GHCR_OWNER }}/mailwhale:latest"
- "ghcr.io/{{ .Env.GHCR_OWNER }}/mailwhale:{{ .Tag }}"
release:
mode: replace