Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3 from Shopify/goreleaser
Browse files Browse the repository at this point in the history
Goreleaser
  • Loading branch information
klautcomputing authored Nov 6, 2017
2 parents dbf33ad + b8269b8 commit 567d167
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
.DS_Store
/vendor
coverage.txt
/dist
41 changes: 41 additions & 0 deletions .goreleaser.yml
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'
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM scratch
COPY config /config
COPY kubeaudit /
ENTRYPOINT ["/kubeaudit"]

0 comments on commit 567d167

Please sign in to comment.