Browse Source

gitlab-ci.yml updated

Guillermo Espinoza 6 năm trước cách đây
mục cha
commit
686ad21835
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  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"