Skip to content
Snippets Groups Projects
Unverified Commit 06ab5dfc authored by Liz Rice's avatar Liz Rice Committed by GitHub
Browse files

Rename master branch to main (#778)

parent 888c9128
Branches
Tags v1.3.4
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment