1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-24 07:28:06 +00:00

Rename master branch to main (#778)

This commit is contained in:
Liz Rice 2021-01-04 10:31:57 +00:00 committed by GitHub
parent 888c912847
commit 06ab5dfc80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ before_install:
- gem install --no-document fpm - gem install --no-document fpm
- go get -t -v ./... - go get -t -v ./...
- | - |
if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then if [ "$TRAVIS_BRANCH" = "main" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
fi fi
@ -32,7 +32,7 @@ script:
- test -f kube-bench - test -f kube-bench
# Build and push the multi-arch Docker image # Build and push the multi-arch Docker image
- | - |
if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then if [ "$TRAVIS_BRANCH" = "main" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
make docker make docker
fi fi