Merge pull request #16087 from YangJiao0817/fix-ci-master2main2

Modify build-package branch master to main
This commit is contained in:
Yang Jiao 2021-12-07 17:53:35 +08:00 committed by GitHub
commit 5b7e684bc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,9 +11,9 @@ function uploader {
function publishImage {
echo "Publishing images to Docker Hub..."
echo "The images on the host:"
# for master, will use 'dev' as the tag name
# for main, will use 'dev' as the tag name
# for release-*, will use 'release-*-dev' as the tag name, like release-v1.8.0-dev
if [[ $1 == "master" ]]; then
if [[ $1 == "main" ]]; then
image_tag=dev
fi
if [[ $1 == "release-"* ]]; then