forked from jamestelfer/chinmina-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
75 lines (58 loc) · 1.62 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
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
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
builds:
- id: release
binary: chinmina-bridge
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
goarch:
- amd64
- arm64
checksum:
name_template: "checksums.txt"
archives:
- format: tar.gz
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
changelog:
use: github-native
sort: asc
release:
prerelease: auto
header: |
Distributions for this release are published as binaries and a Docker image.
The preferred way to consume a release is via its [Docker image](https://hub.docker.com/r/chinmina/chinmina-bridge):
```text
chinmina/chinmina-bridge:{{ .Tag }}
```
The multi-platform image is published for Linux x86-64 and Linux ARM-64.
If needed, binaries of this build (including Mac) can be found below.
kos:
-
id: chinmina-bridge
build: release
working_dir: .
base_image: cgr.dev/chainguard/static
repository: chinmina
# Platforms to build and publish.
#
# Default: 'linux/amd64'
platforms:
- linux/amd64
- linux/arm64
# Tag to build and push.
# Empty tags are ignored.
#
# Default: 'latest'
# Templates: allowed
tags:
- "{{if not .Prerelease}}latest{{end}}"
- "{{.Tag}}"
sbom: spdx
# Bare uses a tag on the $KO_DOCKER_REPO without anything additional.
bare: true
# Whether to preserve the full import path after the repository name.
preserve_import_paths: false
# Whether to use the base path without the MD5 hash after the repository name.
base_import_paths: true