-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
47 lines (47 loc) · 1.13 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
# Customization options: https://goreleaser.com/customization/
version: 2
project_name: oasbinder
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- no_unique_dist_dir: false
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w
- -X go.szostok.io/version.version={{.Version}}
- -X go.szostok.io/version.buildDate={{.Date}}
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
algorithm: sha512
changelog:
sort: asc
kos:
- repositories:
- "ghcr.io/insightsengineering/oasbinder"
tags:
- "{{.Version}}"
- latest
bare: true
preserve_import_paths: false
platforms:
- linux/amd64
- linux/arm64
- darwin/amd64
- darwin/arm64
labels:
"org.opencontainers.image.created": "{{ .Date }}"
"org.opencontainers.image.title": "{{ .ProjectName }}"
"org.opencontainers.image.revision": "{{ .FullCommit }}"
"org.opencontainers.image.version": "{{ .Version }}"
# Append release notes to the release created by chart-releaser-action.
release:
mode: append