mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-12 13:35:00 +01: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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
- release-*
|
- release-*
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
@ -70,7 +70,7 @@ jobs:
|
|||||||
target_release_version=$(cat ./VERSION)
|
target_release_version=$(cat ./VERSION)
|
||||||
Harbor_Package_Version=$target_release_version-'build.'$GITHUB_RUN_NUMBER
|
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_Assets_Version=$Harbor_Package_Version
|
||||||
harbor_target_bucket=$harbor_builds_bucket
|
harbor_target_bucket=$harbor_builds_bucket
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user