-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.goreleaser.yaml
68 lines (58 loc) · 1.83 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
57
58
59
60
61
62
63
64
65
66
67
68
# .goreleaser.yaml
dockers:
# AMD64
- image_templates:
- "launchdarkly/ldcli:{{ .Version }}-amd64"
- "launchdarkly/ldcli:v{{ .Major }}-amd64"
- "launchdarkly/ldcli:latest-amd64"
goos: linux
goarch: amd64
dockerfile: Dockerfile.goreleaser
skip_push: false
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
# ARM64v8
- image_templates:
- "launchdarkly/ldcli:{{ .Version }}-arm64v8"
- "launchdarkly/ldcli:v{{ .Major }}-arm64v8"
- "launchdarkly/ldcli:latest-arm64v8"
goos: linux
goarch: arm64
dockerfile: Dockerfile.goreleaser
skip_push: false
build_flag_templates:
- "--pull"
- "--platform=linux/arm64/v8"
docker_manifests:
- name_template: "launchdarkly/ldcli:{{ .Version}}"
skip_push: false
image_templates:
- "launchdarkly/ldcli:{{ .Version }}-amd64"
- "launchdarkly/ldcli:{{ .Version }}-arm64v8"
- name_template: "launchdarkly/ldcli:v{{ .Major }}"
skip_push: false
image_templates:
- "launchdarkly/ldcli:v{{ .Major }}-amd64"
- "launchdarkly/ldcli:v{{ .Major }}-arm64v8"
- name_template: "launchdarkly/ldcli:latest"
skip_push: false
image_templates:
- "launchdarkly/ldcli:latest-amd64"
- "launchdarkly/ldcli:latest-arm64v8"
# brews:
# -
# name: ldcli
# description: "The official command line interface for managing LaunchDarkly feature flags."
# homepage: "https://launchdarkly.com"
# repository:
# owner: launchdarkly
# name: homebrew-tap
# token: "{{ .Env.GITHUB_TOKEN }}"
# directory: Formula
# url_template: "https://github.com/launchdarkly/ldcli/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# install: |
# bin.install "ldcli"
# commit_author:
# name: LaunchDarklyReleaseBot
# email: [email protected]