garage uses default branch name main-v2

This commit is contained in:
3uzbcqje
2026-02-16 19:13:27 -08:00
committed by maximilien
parent b41e0f49bf
commit b5006b7cce
+3 -3
View File
@@ -2,9 +2,9 @@ steps:
helm:
when:
- event: pull_request
branch: main
branch: main-v2
- event: push
branch: main
branch: main-v2
image: alpine/helm:4.1.1
environment:
helm_registry: codeberg.org
@@ -29,7 +29,7 @@ steps:
git_repo_owner: ${CI_REPO_OWNER}
commands:
- |
if [[ "${CI_PIPELINE_EVENT}" == "push" && "${CI_COMMIT_BRANCH}" == "main" ]]; then
if [[ "${CI_PIPELINE_EVENT}" == "push" && "${CI_COMMIT_BRANCH}" == "main-v2" ]]; then
./pipeline.sh push
else
./pipeline.sh