From 140a78559bdb1c81d46f5532106ec0e78d2c25a2 Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Sun, 22 Apr 2018 14:06:13 +0200
Subject: [PATCH] Restrict sensitive build steps to only upstream repo

---
 .gitlab-ci.yml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 792c7e1b25..6a0f4b9d89 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -83,9 +83,9 @@ build_front:
     paths:
       - front/dist/
   only:
-    - tags
-    - master
-    - develop
+    - tags@funkwhale/funkwhale
+    - master@funkwhale/funkwhale
+    - develop@funkwhale/funkwhale
   tags:
     - docker
 
@@ -102,7 +102,7 @@ pages:
     paths:
       - public
   only:
-    - develop
+    - develop@funkwhale/funkwhale
   tags:
     - docker
 
@@ -116,7 +116,7 @@ docker_develop:
     - docker build -t $IMAGE .
     - docker push $IMAGE
   only:
-    - develop
+    - develop@funkwhale/funkwhale
   tags:
     - dind
 
@@ -130,9 +130,9 @@ build_api:
       - api
   script: echo Done!
   only:
-    - tags
-    - master
-    - develop
+    - tags@funkwhale/funkwhale
+    - master@funkwhale/funkwhale
+    - develop@funkwhale/funkwhale
 
 
 docker_release:
@@ -146,6 +146,6 @@ docker_release:
     - docker push $IMAGE
     - docker push $IMAGE_LATEST
   only:
-    - tags
+    - tags@funkwhale/funkwhale
   tags:
     - dind
-- 
GitLab