Commit 59fb53a2 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed app_env production for master branch

parent c296aee2
......@@ -9,16 +9,17 @@ workflow:
rules:
- if: $CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != "development" && ($CI_COMMIT_TAG || $CI_COMMIT_BRANCH)
variables:
APP_URL: "https://${DOCKER_IMAGE_TAG_PREFIX}.review.metager.de"
APP_ENV: development
DOCKER_IMAGE_TAG_PREFIX: $CI_COMMIT_REF_SLUG
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: review-$DOCKER_IMAGE_TAG_PREFIX
APP_ENV: development
APP_URL: "https://${DOCKER_IMAGE_TAG_PREFIX}.review.metager.de"
- if: $CI_COMMIT_BRANCH == "master"
variables:
APP_URL: https://metager.de
APP_ENV: production
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
......@@ -27,6 +28,7 @@ workflow:
- if: $CI_COMMIT_BRANCH == "development"
variables:
APP_URL: https://metager3.de
APP_ENV: development
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
......
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