-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
56 lines (50 loc) · 1.12 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
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
---
version: 2
builds:
- id: "main-build"
env:
- "CGO_ENABLED=0"
goos:
- "linux"
- "darwin"
goarch:
- "amd64"
- "arm64"
main: "./cmd/thumper/"
dir: "."
kos:
- &ko-defaults
id: "dockerhub-ko"
build: "main-build"
platforms:
- "linux/amd64"
- "linux/arm64"
- "darwin/amd64"
- "darwin/arm64"
repository: "authzed"
tags:
- "latest"
- "v{{ .Version }}"
sbom: "none"
# This prevents it from adding the md5sum after the name of
# the image
base_import_paths: true
- <<: *ko-defaults
id: "ghcr-build"
repository: "ghcr.io/authzed"
- <<: *ko-defaults
id: "quay-build"
repository: "quay.io/authzed"
archives:
- id: "main-archive"
builds:
- "main-build"
changelog:
use: "github-native"
sort: "asc"
checksum:
name_template: "checksums.txt"