Browse Source

gitlab-ci.yml updated

Guillermo Espinoza 6 years ago
parent
commit
686ad21835
1 changed files with 6 additions and 1 deletions
  1. 6 1
      .gitlab-ci.yml

+ 6 - 1
.gitlab-ci.yml

@@ -56,4 +56,9 @@ ftth_docker:
     - docker build --no-cache --tag $CONTAINER_IMAGE:latest ftth
     - docker push $CONTAINER_IMAGE:latest
   dependencies:
-    - ftth_clone
+    - ftth_clone
+  only:
+    refs:
+      - pushes
+    variables:
+      - $CI_COMMIT_REF_NAME == "master"