Skip to content
Snippets Groups Projects
Commit 82e8da0d authored by Sebastian Karius's avatar Sebastian Karius
Browse files

Update docker-compose.yml

parent be28bb4a
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ spec:
DOCKER_TLS_CERTDIR: ""
DOCKER_REGISTRY: $CI_REGISTRY_IMAGE
DOCKER_IMAGE_TAG: $CI_COMMIT_BRANCH
DOCKER_COMPOSE_FILE: $[[ inputs.docker_compose_file ]]
COMPOSE_FILE: $[[ inputs.docker_compose_file ]]
BUILD_MAIN: $[[ inputs.build_main ]]
BUILD_BRANCH: $[[ inputs.build_branch ]]
BUILD_TAG: $[[ inputs.build_tag ]]
......@@ -60,10 +60,10 @@ spec:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $BUILD_MAIN
exists:
- $DOCKER_COMPOSE_FILE
- $COMPOSE_FILE
- if: $CI_COMMIT_BRANCH && $BUILD_BRANCH && $BUILD_ONLY_PROTECTED == "false"
exists:
- $DOCKER_COMPOSE_FILE
- $COMPOSE_FILE
- if: $CI_COMMIT_TAG && $BUILD_TAG
exists:
- $DOCKER_COMPOSE_FILE
\ No newline at end of file
- $COMPOSE_FILE
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment