2025-03-16 02:37:44 +07:00
version : 2
2021-03-14 12:37:41 +05:30
before :
hooks :
2025-02-24 18:22:57 +07:00
- go mod download
- go mod verify
2021-03-14 12:37:41 +05:30
2020-06-01 21:34:57 +02:00
builds :
2025-02-24 18:22:57 +07:00
- main : cmd/nuclei/main.go
binary : nuclei
id : nuclei-cli
env :
- CGO_ENABLED=0
goos : [ windows,linux,darwin]
goarch : [ amd64,'386',arm,arm64]
ignore :
- goos : darwin
goarch : '386'
- goos : windows
goarch : arm
- goos : windows
goarch : arm64
flags :
- -trimpath
- -pgo=auto
ldflags :
- -s
- -w
2021-12-13 18:46:41 +05:30
2023-06-27 01:02:11 +05:30
#- main: cmd/tmc/main.go
# binary: tmc
# id: annotate
#
# env:
# - CGO_ENABLED=0
#
# goos: [linux]
# goarch: [amd64]
2022-03-01 19:51:31 +05:30
2020-06-01 21:34:57 +02:00
archives :
2025-02-24 18:22:57 +07:00
- format : zip
id : nuclei
builds : [ nuclei-cli]
name_template : '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}'
2022-03-01 19:51:31 +05:30
2021-06-15 21:31:56 +05:30
checksum :
2021-09-01 20:56:30 +05:30
algorithm : sha256
2022-08-13 01:30:08 -07:00
2025-03-16 02:37:44 +07:00
dockers :
- image_templates :
2025-03-27 16:25:56 +07:00
- "projectdiscovery/{{ .ProjectName }}:{{ .Tag }}"
- "projectdiscovery/{{ .ProjectName }}:v{{ .Major }}.{{ .Minor }}"
- "projectdiscovery/{{ .ProjectName }}:v{{ .Major }}"
- "projectdiscovery/{{ .ProjectName }}:latest"
2025-03-16 02:37:44 +07:00
dockerfile : Dockerfile.goreleaser
use : buildx
build_flag_templates :
- "--pull"
- "--label=org.opencontainers.image.authors=ProjectDiscovery"
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.description=\"Nuclei is a fast, customizable vulnerability scanner powered by the global security community and built on a simple YAML-based DSL, enabling collaboration to tackle trending vulnerabilities on the internet. It helps you find vulnerabilities in your applications, APIs, networks, DNS, and cloud configurations.\""
- "--label=org.opencontainers.image.licenses=MIT"
- "--label=org.opencontainers.image.ref.name={{ .Tag }}"
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
- "--label=org.opencontainers.image.title={{ .ProjectName }}"
- "--label=org.opencontainers.image.url=https://github.com/projectdiscovery/{{ .ProjectName }}"
- "--label=org.opencontainers.image.version={{ .Version }}"
2022-08-13 01:30:08 -07:00
announce :
slack :
enabled : true
channel : '#release'
username : GoReleaser
2023-03-16 23:59:14 +05:30
message_template: 'New Release : {{ .ProjectName }} {{.Tag}} is published! Check it out at {{ .ReleaseURL }}'
2023-01-02 16:47:27 +05:30
discord :
enabled : true
message_template: '**New Release : {{ .ProjectName }} {{.Tag}}** is published! Check it out at {{ .ReleaseURL }}'