This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Shopify/goreleaser
Goreleaser
- Loading branch information
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
.DS_Store | ||
/vendor | ||
coverage.txt | ||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
project_name: kubeaudit | ||
release: | ||
github: | ||
owner: Shopify | ||
name: kubeaudit | ||
draft: true | ||
name_template: "{{.ProjectName}}-v{{.Version}}" | ||
brew: | ||
github: | ||
owner: Shopify | ||
name: homebrew-shopify | ||
install: bin.install "kubeaudit" | ||
homepage: "https://github.com/Shopify/kubeaudit" | ||
description: "kubeaudit audits Kubernetes clusters for common security controls" | ||
builds: | ||
- goos: | ||
- linux | ||
- darwin | ||
goarm: | ||
- 6 | ||
- 7 | ||
main: . | ||
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} | ||
binary: kubeaudit | ||
archive: | ||
format: tar.gz | ||
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{.Arm }}{{ end }}' | ||
files: | ||
- licence* | ||
- LICENCE* | ||
- license* | ||
- LICENSE* | ||
- readme* | ||
- README* | ||
- changelog* | ||
- CHANGELOG* | ||
- config/* | ||
snapshot: | ||
name_template: SNAPSHOT-{{ .Commit }} | ||
checksum: | ||
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM scratch | ||
COPY config /config | ||
COPY kubeaudit / | ||
ENTRYPOINT ["/kubeaudit"] |