Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2b8aa7e authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

ci: run builds automatically under following conditions

- Merge request
- Tag
- Pushed to master
parent c6f8fb7b
Loading
Loading
Loading
Loading
Loading
+4 −3
Original line number Original line Diff line number Diff line
@@ -15,9 +15,10 @@ build-docker:
  image: docker:25.0.5-git
  image: docker:25.0.5-git
  stage: prepare
  stage: prepare
  rules:
  rules:
    - if: $CI_PIPELINE_SOURCE != "schedule"
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
  when: manual
    - if: $CI_COMMIT_BRANCH == "master"
  allow_failure: false
    - if: $CI_COMMIT_TAG
    - when: manual
  tags:
  tags:
    - generic_privileged
    - generic_privileged
  variables:
  variables: