Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-bench
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
aquasecurity
kube-bench
Commits
3dd5db69
Unverified
Commit
3dd5db69
authored
7 years ago
by
Lee Briggs
Browse files
Options
Downloads
Patches
Plain Diff
Add goreleaser configuration
parent
e7152265
Branches
Branches containing commit
Tags
19.219.16
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.goreleaser.yml
+23
-0
23 additions, 0 deletions
.goreleaser.yml
.travis.yml
+18
-3
18 additions, 3 deletions
.travis.yml
with
41 additions
and
3 deletions
.goreleaser.yml
0 → 100644
+
23
−
0
View file @
3dd5db69
builds
:
-
main
:
main.go
binary
:
kube-bench
goos
:
-
darwin
-
linux
goarch
:
-
amd64
# Archive customization
archive
:
format
:
tar.gz
dockers
:
-
binary
:
kube-bench
image
:
aquasecurity/kube-bench
latest
:
true
fpm
:
vendor
:
Aqua Security
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
formats
:
-
deb
-
rpm
This diff is collapsed.
Click to expand it.
.travis.yml
+
18
−
3
View file @
3dd5db69
---
language
:
go
install
:
-
go get github.com/aquasecurity/kube-bench
notifications
:
email
:
false
before_install
:
-
sudo apt-get -qq update
-
sudo apt-get install -y rpm
-
gem install --no-ri --no-rdoc fpm
install
:
-
go get -v github.com/Masterminds/glide
-
cd $GOPATH/src/github.com/Masterminds/glide && git checkout tags/v0.12.3 && go install && cd -
# use a known good glide version
-
glide install
script
:
-
go test ./...
-
go build -o kube-bench .
after_success
:
-
test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment