From bf5e72973f40f56f741a1bfbf98042fa1541ff41 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 16 May 2017 16:46:44 -0400 Subject: [bug] limit docker job to only run in main repository This will enable forks to run jobs, without needing access to the private token, or access to the docker-in-docker tagged runner --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2ac0985e..e0821402 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,6 +64,8 @@ build_docker_image: - docker:dind tags: - docker-in-docker + only: + - /^.*@leap\/bitmask-dev/ before_script: - > export LAST_COMMIT=$(curl -s --header "PRIVATE-TOKEN: ${LEAP_CODE_O_MATIC_PRIVATE_TOKEN}" https://0xacab.org/api/v4/projects/574/pipelines | -- cgit v1.2.3