forked from bflad/tfproviderdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
53 lines (46 loc) · 1.13 KB
/
.goreleaser.yml
File metadata and controls
53 lines (46 loc) · 1.13 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
# Copyright IBM Corp. 2019, 2026
# "SPDX-License-Identifier: MPL-2.0"
version: 2
archives:
- format_overrides:
- goos: windows
formats: [ 'zip' ]
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
- "386"
ldflags:
- -s -w -X github.com/YakDriver/tfproviderdocs/version.Version={{.Version}} -X github.com/YakDriver/tfproviderdocs/version.VersionPrerelease=
main: .
dockers:
- build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
image_templates:
- "moab4x/tfproviderdocs:{{ .Version }}"
- "moab4x/tfproviderdocs:{{ .Major }}.{{ .Minor }}"
- "moab4x/tfproviderdocs:latest"
milestones:
- close: true
- fail_on_error: false
signs:
- artifacts: checksum
args:
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}"
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"