mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-05 22:41:24 +01:00
Merge pull request #16087 from YangJiao0817/fix-ci-master2main2
Modify build-package branch master to main
This commit is contained in:
commit
5b7e684bc4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user