This repository has been archived by the owner on Nov 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
75 lines (75 loc) · 1.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
---
builds:
- main: "./cmd/servok"
env:
- "CGO_ENABLED=0"
goos:
- "linux"
- "windows"
- "darwin"
goarch:
- "amd64"
- "arm64"
mod_timestamp: "{{ .CommitTimestamp }}"
nfpms:
- vendor: "authzed inc."
homepage: "https://github.com/authzed/servok"
maintainer: "authzed <support@authzed.com>"
description: "Serve endpoint metadata for client side load balancing"
license: "Apache 2.0"
epoch: 0
formats:
- "apk"
- "deb"
- "rpm"
furies:
- account: "authzed"
secret_name: "GEMFURY_PUSH_TOKEN"
dockers:
- image_templates:
- &amd_image "quay.io/authzed/servok:v{{ .Version }}-amd64"
- &amd_image_gh "ghcr.io/authzed/servok:v{{ .Version }}-amd64"
dockerfile: &dockerfile "Dockerfile.release"
goos: "linux"
goarch: "amd64"
use: "buildx"
build_flag_templates:
- "--platform=linux/amd64"
- image_templates:
- &arm_image "quay.io/authzed/servok:v{{ .Version }}-arm64"
- &arm_image_gh "ghcr.io/authzed/servok:v{{ .Version }}-arm64"
dockerfile: *dockerfile
goos: "linux"
goarch: "arm64"
use: "buildx"
build_flag_templates:
- "--platform=linux/arm64"
docker_manifests:
- name_template: "quay.io/authzed/servok:v{{ .Version }}"
image_templates:
- *amd_image
- *arm_image
- name_template: "quay.io/authzed/servok:latest"
image_templates:
- *amd_image
- *arm_image
- name_template: "ghcr.io/authzed/servok:v{{ .Version }}"
image_templates:
- *amd_image_gh
- *arm_image_gh
- name_template: "ghcr.io/authzed/servok:latest"
image_templates:
- *amd_image_gh
- *arm_image_gh
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: "asc"
release:
draft: true
prerelease: "auto"
footer: |
## Docker Images
This release is available at `quay.io/authzed/servok:{{ .Version }}`