Update file .gitlab-ci.yml

This commit is contained in:
Amelia Yukii 2024-05-19 22:36:10 +00:00
parent 95ec40d3c8
commit 88e7376565
1 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,7 @@ testCommit:
- develop - develop
- merge_requests - merge_requests
- stable - stable
- live-testing
getImageTag: getImageTag:
stage: deploy stage: deploy
@ -43,6 +44,8 @@ getImageTag:
tag="latest" tag="latest"
elif test "$CI_COMMIT_BRANCH" == "develop"; then elif test "$CI_COMMIT_BRANCH" == "develop"; then
tag="develop" tag="develop"
elif test "$CI_COMMIT_BRANCH" == "live-testing"; then
tag="live-testing"
else else
tag="$CI_COMMIT_BRANCH" tag="$CI_COMMIT_BRANCH"
fi fi
@ -56,6 +59,7 @@ getImageTag:
- stable - stable
- develop - develop
- tags - tags
- live-testing
buildDocker: buildDocker:
stage: deploy stage: deploy
@ -108,3 +112,4 @@ mergeManifests:
- stable - stable
- develop - develop
- tags - tags
- live-testing