mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-22 23:01:33 +01:00
modify build-package branch master to main
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
parent
7e67c1f495
commit
eff2ff03aa
4
.github/workflows/build-package.yml
vendored
4
.github/workflows/build-package.yml
vendored
@ -5,7 +5,7 @@ env:
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- release-*
|
||||
tags:
|
||||
- v*
|
||||
@ -70,7 +70,7 @@ jobs:
|
||||
target_release_version=$(cat ./VERSION)
|
||||
Harbor_Package_Version=$target_release_version-'build.'$GITHUB_RUN_NUMBER
|
||||
|
||||
if [[ $target_branch == "master" ]]; then
|
||||
if [[ $target_branch == "main" ]]; then
|
||||
Harbor_Assets_Version=$Harbor_Package_Version
|
||||
harbor_target_bucket=$harbor_builds_bucket
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user