Skip to content

Commit

Permalink
fixed goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nishantkavuru committed Feb 19, 2025
1 parent 8373545 commit 003786c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ builds:
# Archive customization
archives:
- id: default
format: tar.gz
formats: [ 'tar.gz' ]
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{.Arm }}{{ end }}'
files:
- "cfg/**/*"
Expand All @@ -34,9 +34,17 @@ nfpms:
description: "The Kubernetes Bench for Security is a Go application that checks whether Kubernetes is deployed according to security best practices"
license: Apache-2.0
homepage: https://github.com/aquasecurity/kube-bench
files:
"cfg/**/*": "/etc/kube-bench/cfg"
"cfg/config.yaml": "/etc/kube-bench/cfg"
contents:
- src: "cfg/**/*"
dst: "/etc/kube-bench/cfg"
file_info:
mode: 0644
mtime: "{{ .CommitDate }}"
- src: "cfg/config.yaml"
dst: "/etc/kube-bench/cfg"
file_info:
mode: 0644
mtime: "{{ .CommitDate }}"
formats:
- deb
- rpm

0 comments on commit 003786c

Please sign in to comment.