Explorar el Código

gitlab-ci.yml updated

Guillermo Espinoza hace 6 años
padre
commit
686ad21835
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  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"