Skip to content
Snippets Groups Projects
Commit e2ceb203 authored by Corné Lukken's avatar Corné Lukken
Browse files

L2SS-752: Attempt to resolve detached pipelines using rules

parent f6692141
Branches
No related tags found
1 merge request!321Resolve L2SS-752
...@@ -64,17 +64,28 @@ docker_store_images_master_tag: ...@@ -64,17 +64,28 @@ docker_store_images_master_tag:
refs: refs:
- tags - tags
- master - master
# https://stackoverflow.com/questions/68955071/how-to-disable-detached-pipelines-in-gitlab
docker_store_images_changes: docker_store_images_changes:
extends: .base_docker_store_images extends: .base_docker_store_images
only: rules:
refs: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- merge_requests when: never
changes: - if: '$CI_COMMIT_TAG == null'
when: never
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
when: never
- changes:
- docker-compose/.env - docker-compose/.env
except: when: always
refs: # only:
- tags # refs:
- master # - merge_requests
# changes:
# - docker-compose/.env
# except:
# refs:
# - tags
# - master
docker_build_image_all: docker_build_image_all:
extends: .base_docker_images extends: .base_docker_images
only: only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment