mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-11-22 08:08:07 +00:00
Revert "Add Docker build & push to Travis job" - it's already being built on Docker Hub!
This reverts commit b339a753b5
.
This commit is contained in:
parent
b339a753b5
commit
1c58dfefbb
12
.travis.yml
12
.travis.yml
@ -1,18 +1,6 @@
|
|||||||
sudo: true
|
|
||||||
services:
|
|
||||||
- docker
|
|
||||||
|
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go get github.com/aquasecurity/kube-bench
|
- go get github.com/aquasecurity/kube-bench
|
||||||
script:
|
script:
|
||||||
- go test ./...
|
- go test ./...
|
||||||
- go build -o kube-bench .
|
- go build -o kube-bench .
|
||||||
|
|
||||||
after_success:
|
|
||||||
- if [ "$TRAVIS_BRANCH" == "master" ]; then
|
|
||||||
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
|
|
||||||
docker build -t aquasec/kube-bench .;
|
|
||||||
docker push aquasec/kube-bench;
|
|
||||||
fi
|
|
||||||
|
Loading…
Reference in New Issue
Block a user