-
Notifications
You must be signed in to change notification settings - Fork 30
/
.goreleaser.yml
94 lines (92 loc) · 2.59 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
---
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: ftw
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
builds:
- id: 'ftw'
env:
- GO111MODULE=on
- CGO_ENABLED=0
binary: ftw
targets:
- linux_amd64
- linux_arm64
- darwin_amd64
- darwin_arm64
- windows_amd64
archives:
- format_overrides:
- goos: windows
format: zip
checksum:
name_template: '{{ .ProjectName }}-checksums.txt'
snapshot:
name_template: '{{ .Tag }}-next'
changelog:
sort: asc
use: github
groups:
- title: Features
regexp: '^.*feat[(\\w)]*:+.*$'
order: 0
- title: 'Bug fixes'
regexp: '^.*fix[(\\w)]*:+.*$'
order: 1
- title: Others
order: 999
filters:
exclude:
- '^docs'
- '^test'
release:
prerelease: auto
dockers:
- image_templates:
- 'ghcr.io/coreruleset/go-ftw:{{ .Version }}-amd64'
use: buildx
goarch: amd64
build_flag_templates:
- '--platform=linux/amd64'
- image_templates:
- 'ghcr.io/coreruleset/go-ftw:{{ .Version }}-arm64'
use: buildx
goarch: arm64
build_flag_templates:
- '--platform=linux/arm64'
docker_manifests:
- name_template: 'ghcr.io/coreruleset/go-ftw:latest'
image_templates:
- 'ghcr.io/coreruleset/go-ftw:{{ .Version }}-amd64'
- 'ghcr.io/coreruleset/go-ftw:{{ .Version }}-arm64'
- name_template: 'ghcr.io/coreruleset/go-ftw:{{ .Version }}'
image_templates:
- 'ghcr.io/coreruleset/go-ftw:{{ .Version }}-amd64'
- 'ghcr.io/coreruleset/go-ftw:{{ .Version }}-arm64'
nfpms:
- id: 'ftw'
builds: ['ftw']
formats:
- deb
- rpm
bindir: /usr/bin
file_name_template: '{{ .ConventionalFileName }}'
vendor: OWASP Core Rule Set Project
homepage: https://github.com/coreruleset/go-ftw
maintainer: [email protected]
description: >
Framework for Testing WAFs - Go version
It uses the OWASP Core Ruleset V3 as a baseline to test rules on a WAF. Each rule from the ruleset is loaded into a YAML file that issues HTTP requests that will trigger these rules. Users can verify the execution of the rule after the tests are issued to make sure the expected response is received from an attack.
license: APL2
announce:
slack:
enabled: true
message_template: >
{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}
channel: '#coreruleset-notify'
username: 'Releaser'
icon_emoji: ':new:'
attachments: []