-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.goreleaser.yml
More file actions
94 lines (91 loc) · 2.65 KB
/
Copy path.goreleaser.yml
File metadata and controls
94 lines (91 loc) · 2.65 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: 2
project_name: mokapi
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s
- -w
- -X mokapi/version.BuildVersion={{ .Version }}
- -X mokapi/version.BuildTime={{ .Date }}
main: ./cmd/mokapi
goos:
- linux
- darwin
goarch:
- amd64
- arm64
archives:
- name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}'
format: tar.gz
checksum:
name_template: "{{ .ProjectName }}_v{{ .Version }}_linux_checksums.txt"
dockers:
- goos: linux
goarch: amd64
image_templates:
- "mokapi/mokapi:latest-amd64"
- "mokapi/mokapi:{{ .Version }}-amd64"
build_flag_templates:
- "--platform=linux/amd64"
dockerfile: images/release-alpine.Dockerfile
use: buildx
- goos: linux
goarch: arm64
image_templates:
- "mokapi/mokapi:latest-arm64v8"
- "mokapi/mokapi:{{ .Version }}-arm64v8"
build_flag_templates:
- "--platform=linux/arm64/v8"
dockerfile: images/release-alpine.Dockerfile
use: buildx
- goos: linux
goarch: amd64
image_templates:
- "mokapi/mokapi:ubuntu-amd64"
- "mokapi/mokapi:{{ .Version }}-ubuntu-amd64"
build_flag_templates:
- "--platform=linux/amd64"
dockerfile: images/release-ubuntu.Dockerfile
use: buildx
- goos: linux
goarch: arm64
image_templates:
- "mokapi/mokapi:ubuntu-arm64v8"
- "mokapi/mokapi:{{ .Version }}-ubuntu-arm64v8"
build_flag_templates:
- "--platform=linux/arm64/v8"
dockerfile: images/release-ubuntu.Dockerfile
use: buildx
docker_manifests:
- name_template: "mokapi/mokapi:latest"
image_templates:
- "mokapi/mokapi:latest-amd64"
- "mokapi/mokapi:latest-arm64v8"
- name_template: "mokapi/mokapi:{{ .Version }}"
image_templates:
- "mokapi/mokapi:{{ .Version }}-amd64"
- "mokapi/mokapi:{{ .Version }}-arm64v8"
- name_template: "mokapi/mokapi:ubuntu"
image_templates:
- "mokapi/mokapi:ubuntu-amd64"
- "mokapi/mokapi:ubuntu-arm64v8"
- name_template: "mokapi/mokapi:{{ .Version }}-ubuntu"
image_templates:
- "mokapi/mokapi:{{ .Version }}-ubuntu-amd64"
- "mokapi/mokapi:{{ .Version }}-ubuntu-arm64v8"
brews:
- repository:
owner: marle3003
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
homepage: https://mokapi.io
description: "Your API Mocking Tool for Agile Development using Go and Javascript - https://mokapi.io"
nfpms:
- license: MIT
maintainer: Marcel Lehmann
homepage: https://mokapi.io
description: "Your API Mocking Tool for Agile Development using Go and Javascript - https://mokapi.io"
formats:
- rpm
- deb