mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-12-18 20:58:10 +00:00
Rename master branch to main (#778)
This commit is contained in:
parent
888c912847
commit
06ab5dfc80
@ -14,7 +14,7 @@ before_install:
|
||||
- gem install --no-document fpm
|
||||
- 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
|
||||
fi
|
||||
|
||||
@ -32,7 +32,7 @@ script:
|
||||
- test -f kube-bench
|
||||
# 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
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user