Commit c296aee2 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed rules applying for development/master

parent 69c7f8f9
......@@ -16,19 +16,22 @@ workflow:
HELM_RELEASE_NAME: review-$DOCKER_IMAGE_TAG_PREFIX
APP_ENV: development
APP_URL: "https://${DOCKER_IMAGE_TAG_PREFIX}.review.metager.de"
- if: $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "development"
- if: $CI_COMMIT_BRANCH == "master"
variables:
APP_URL: https://metager.de
DOCKER_IMAGE_TAG_PREFIX: $CI_COMMIT_BRANCH
DOCKER_COMPOSER_IMAGE_TAG: $DOCKER_IMAGE_TAG_PREFIX-composer-$CI_COMMIT_SHA
DOCKER_FPM_IMAGE_TAG: $DOCKER_IMAGE_TAG_PREFIX-$CI_COMMIT_SHA
DOCKER_NGINX_IMAGE_TAG: $DOCKER_IMAGE_TAG_PREFIX-$CI_COMMIT_SHA
HELM_RELEASE_NAME: $DOCKER_IMAGE_TAG_PREFIX
- if: $CI_COMMIT_BRANCH == "master"
variables:
APP_URL: https://metager.de
- if: $CI_COMMIT_BRANCH == "development"
variables:
APP_URL: https://metager3.de
DOCKER_IMAGE_TAG_PREFIX: $CI_COMMIT_BRANCH
DOCKER_COMPOSER_IMAGE_TAG: $DOCKER_IMAGE_TAG_PREFIX-composer-$CI_COMMIT_SHA
DOCKER_FPM_IMAGE_TAG: $DOCKER_IMAGE_TAG_PREFIX-$CI_COMMIT_SHA
DOCKER_NGINX_IMAGE_TAG: $DOCKER_IMAGE_TAG_PREFIX-$CI_COMMIT_SHA
HELM_RELEASE_NAME: $DOCKER_IMAGE_TAG_PREFIX
stages:
- build_composer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment