mirror of
https://github.com/goharbor/harbor
synced 2025-05-21 09:19:46 +00:00
Merge pull request #16086 from YangJiao0817/fix-ci-master2main
modify build-package branch master to main
This commit is contained in:
commit
a234fee730
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…
x
Reference in New Issue
Block a user