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

Commit 36fda07b authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Manual run for non-master branches

parent 9b527bbc
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -7,6 +7,13 @@ variables:
  image: docker:git
  services:
    - docker:latest
  rules:
    # Auto-run on master
    - if: '$CI_COMMIT_BRANCH == "master"'
      when: on_success

    # Manual for all other branches
    - when: manual
  script:
    - "docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY"
    - "docker pull $CI_REGISTRY_IMAGE:$IMAGE_TAG || true"