forked from packetframe/api
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
78 lines (71 loc) · 2 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
76
77
78
builds:
- id: api
dir: ./cmd/api
binary: api
goos:
- linux
goarch:
- amd64
- id: edged
dir: ./cmd/edged
binary: edged
goos:
- linux
goarch:
- amd64
- id: acmed
dir: ./cmd/acmed
binary: acmed
goos:
- linux
goarch:
- amd64
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
nfpms:
- id: edged
package_name: edged
file_name_template: "edged_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
vendor: Packetframe
homepage: https://github.com/packetframe/api
maintainer: Nate Sales <nate@packetframe.com>
description: Packetframe Edge Daemon
license: GNU GPL-3.0
section: utils
priority: extra
formats:
- deb
dockers:
- ids: [ "api" ]
image_templates: [ "ghcr.io/packetframe/api:{{ .Version }}" ]
dockerfile: Dockerfile.api
use: buildx
build_flag_templates:
- --platform=linux/amd64
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=AGPL-3.0-only
- ids: [ "edged" ]
image_templates: [ "ghcr.io/packetframe/edged:{{ .Version }}" ]
dockerfile: Dockerfile.edged
use: buildx
build_flag_templates:
- --platform=linux/amd64
- --label=org.opencontainers.image.title=edged
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=AGPL-3.0-only
- ids: [ "acmed" ]
image_templates: [ "ghcr.io/packetframe/acmed:{{ .Version }}" ]
dockerfile: Dockerfile.acmed
use: buildx
build_flag_templates:
- --platform=linux/amd64
- --label=org.opencontainers.image.title=acmed
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=AGPL-3.0-only