diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2020-02-27 15:05:54 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2020-02-27 15:05:54 +0300 |
commit | 2c869496f74a6ed6be965566f8b6c0f720076021 (patch) | |
tree | ab7a668faccacd99a18f9ce23087c98cb2bbb054 | |
parent | 59dbd5b4a99d8b965c7c0228cbd0db0bb3ca41ba (diff) |
Exclude non gitlab-org projects running Docker
The GitLab CI yaml was overly inclusive, making forks and pull mirrors
break.
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 32836c67f..787efbfbf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -164,7 +164,8 @@ docker: - docker build -t $CI_REGISTRY_IMAGE/gitaly:latest --build-arg CUSTOM_IMAGE_VERSION=$CUSTOM_IMAGE_VERSION _support/build-images/$CI_JOB_NAME - docker push $CI_REGISTRY_IMAGE/gitaly:latest only: - - master + - master@gitlab-org/gitaly + except: docker-tag: <<: *build_image |