forked from cloudflarearchive/odoh-server-go
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
45 lines (45 loc) · 1.4 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
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- freebsd
goarch:
- amd64
- arm64
nfpms:
- id: odohd
package_name: odohd
vendor: Emerald Onion
homepage: https://github.com/emeraldonion/odohd
maintainer: Nate Sales <nate@emeraldonion.org>
description: Oblivious DNS over HTTPS server
license: MIT
section: utils
priority: extra
formats:
- deb
- rpm
dockers:
- image_templates: ["ghcr.io/emeraldonion/odohd:{{ .Version }}-amd64"]
dockerfile: Dockerfile
use: buildx
build_flag_templates:
- --platform=linux/amd64
- --label=org.opencontainers.image.title=odohd
- --label=org.opencontainers.image.description=Oblivious DNS over HTTPS Server
- --label=org.opencontainers.image.url=https://github.com/emeraldonion/odohd
- --label=org.opencontainers.image.source=https://github.com/emeraldonion/odohd
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=MIT
docker_manifests:
- name_template: ghcr.io/emeraldonion/odohd:{{ .Version }}
image_templates:
- ghcr.io/emeraldonion/odohd:{{ .Version }}-amd64
- name_template: ghcr.io/emeraldonion/odohd:latest
image_templates:
- ghcr.io/emeraldonion/odohd:{{ .Version }}-amd64