Skip to content

Commit

Permalink
Update docker-build.sh
Browse files Browse the repository at this point in the history
change master to main
  • Loading branch information
elais authored Sep 27, 2022
1 parent d6f35d3 commit 33fc80d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ GIT_BRANCH=$(set -e && git rev-parse --abbrev-ref HEAD)
# Get the default Git branch; default to master if it can't figure it out. You
# may wish to edit this to some particular branch you want as the default; it
# will be used to prewarm the build cache for new branches.
GIT_DEFAULT_BRANCH=$(git rev-parse --abbrev-ref origin/HEAD || echo origin/master)
GIT_DEFAULT_BRANCH=$(git rev-parse --abbrev-ref origin/HEAD || echo origin/main)
GIT_DEFAULT_BRANCH=$(basename "${GIT_DEFAULT_BRANCH}")

# Set two complete image names:
Expand Down

0 comments on commit 33fc80d

Please sign in to comment.