forked from aquasecurity/tfsec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
119 lines (105 loc) · 2.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
before:
hooks:
- go mod tidy
- go mod vendor
builds:
-
id: tfsec
main: ./cmd/tfsec
binary: tfsec
ldflags:
- "-X github.com/aquasecurity/tfsec/version.Version={{.Version}} -s -w -extldflags '-fno-PIC -static'"
env:
- CGO_ENABLED=0
- GOFLAGS=-mod=vendor
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
signs:
- artifacts: binary
signature: "${artifact}.D66B222A3EA4C25D5D1A097FC34ACEFB46EC39CE.sig"
archives:
-
format: binary
name_template: "{{ .Binary}}-{{ .Os }}-{{ .Arch }}"
release:
prerelease: auto
github:
owner: aquasecurity
name: tfsec
dockers:
-
goos: linux
goarch: amd64
ids:
- tfsec
dockerfile: Dockerfile
skip_push: auto
image_templates:
- "aquasec/tfsec:latest"
- "aquasec/tfsec:{{ .Tag }}"
- "aquasec/tfsec:v{{ .Major }}.{{ .Minor }}"
- "aquasec/tfsec-alpine:latest"
- "aquasec/tfsec-alpine:{{ .Tag }}"
- "aquasec/tfsec-alpine:v{{ .Major }}.{{ .Minor }}"
-
goos: linux
goarch: amd64
ids:
- tfsec
dockerfile: Dockerfile.scratch
skip_push: auto
image_templates:
- "aquasec/tfsec-scratch:latest"
- "aquasec/tfsec-scratch:{{ .Tag }}"
- "aquasec/tfsec-scratch:v{{ .Major }}.{{ .Minor }}"
-
goos: linux
goarch: amd64
ids:
- tfsec
dockerfile: Dockerfile.ci
skip_push: auto
image_templates:
- "aquasec/tfsec-ci:latest"
- "aquasec/tfsec-ci:{{ .Tag }}"
- "aquasec/tfsec-ci:v{{ .Major }}.{{ .Minor }}"
-
goos: linux
goarch: amd64
ids:
- tfsec
dockerfile: Dockerfile
image_templates:
- "aquasec/tfsec:{{ .Tag }}"
- "aquasec/tfsec-alpine:{{ .Tag }}"
-
goos: linux
goarch: amd64
ids:
- tfsec
dockerfile: Dockerfile.scratch
image_templates:
- "aquasec/tfsec-scratch:{{ .Tag }}"
-
goos: linux
goarch: amd64
ids:
- tfsec
dockerfile: Dockerfile.ci
image_templates:
- "aquasec/tfsec-ci:{{ .Tag }}"