mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-29 05:35:43 +01:00
Modify build-package branch master to main
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
parent
a234fee730
commit
367dd02ef8
@ -11,9 +11,9 @@ function uploader {
|
|||||||
function publishImage {
|
function publishImage {
|
||||||
echo "Publishing images to Docker Hub..."
|
echo "Publishing images to Docker Hub..."
|
||||||
echo "The images on the host:"
|
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
|
# 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
|
image_tag=dev
|
||||||
fi
|
fi
|
||||||
if [[ $1 == "release-"* ]]; then
|
if [[ $1 == "release-"* ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user