-
Notifications
You must be signed in to change notification settings - Fork 31
/
.goreleaser.yml
40 lines (40 loc) · 1.02 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
project_name: awsping
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/awsping
goos:
- linux
- windows
- darwin
goarch:
- amd64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^Makefile:'
- '^README:'
- '^gitignore:'
- '^goreleaser:'
dockers:
- image_templates:
- "docker.io/evkalinin/{{.ProjectName}}:{{ .Tag }}"
- "docker.io/evkalinin/{{.ProjectName}}:latest"
- "ghcr.io/ekalinin/{{.ProjectName}}:{{ .Tag }}"
- "ghcr.io/ekalinin/{{.ProjectName}}:latest"
dockerfile: Dockerfile.goreleaser
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source={{.GitURL}}"
- "--platform=linux/amd64"