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:
parent
888c912847
commit
06ab5dfc80
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user