diff options
author | Micah Anderson <micah@riseup.net> | 2017-05-16 16:46:44 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2017-05-16 16:52:47 -0400 |
commit | bf5e72973f40f56f741a1bfbf98042fa1541ff41 (patch) | |
tree | e04b6fea1d7efdd28f6fe0cb1f7b3797577a30c5 | |
parent | bee693cd7b92934073d9fdffd6aa38d14e7e251e (diff) |
[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
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |