-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoreleaser.yml
87 lines (81 loc) · 2.93 KB
/
goreleaser.yml
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
project_name: check-christmas-lottery-numbers
builds:
- id: check-christmas-lottery-numbers
binary: check-christmas-lottery-numbers
main: cmd/main.go
env:
- GO111MODULE=on
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
changelog:
sort: desc
archives:
- format_overrides:
- goos: windows
format: zip
replacements:
amd64: 64-bit
darwin: macOS
before:
hooks:
- go mod tidy
release:
github:
owner: xoanmm
name: check-christmas-lottery-numbers
footer: |
## Docker Images
- `xoanmallon/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}`
- `xoanmallon/check-christmas-lottery-numbers:latest`
- `ghcr.io/xoanmm/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}`
- `ghcr.io/xoanmm/check-christmas-lottery-numbers:latest`
nfpms:
- id: check-christmas-lottery-numbers
builds:
- check-christmas-lottery-numbers
formats:
- deb
vendor: Xoán Mallón
homepage: https://github.com/xoanmm/check-christmas-lottery-numbers
maintainer: xoanmmm <[email protected]>
description: CLI that checks the lottery numbers provided through a file and notifies those that have been awarded using pushOver
dockers:
- image_templates:
- xoanmallon/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}-amd64
- ghcr.io/xoanmm/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}-amd64
goarch: amd64
dockerfile: Dockerfile
use: buildx
build_flag_templates:
- --platform=linux/amd64
- image_templates:
- xoanmallon/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}-arm64
- ghcr.io/xoanmm/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}-arm64
goarch: arm64
dockerfile: Dockerfile
use: buildx
build_flag_templates:
- --platform=linux/arm64
docker_manifests:
- name_template: xoanmallon/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}
image_templates:
- xoanmallon/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}-amd64
- xoanmallon/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}-arm64
- name_template: xoanmallon/check-christmas-lottery-numbers:latest
image_templates:
- xoanmallon/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}-amd64
- xoanmallon/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}-arm64
- name_template: ghcr.io/xoanmm/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}
image_templates:
- ghcr.io/xoanmm/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}-amd64
- ghcr.io/xoanmm/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}-arm64
- name_template: ghcr.io/xoanmm/check-christmas-lottery-numbers:latest
image_templates:
- ghcr.io/xoanmm/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}-amd64
- ghcr.io/xoanmm/check-christmas-lottery-numbers:{{ trimprefix .Tag "v" }}-arm64