Explorar o código

gitlab-ci.yml updated

Guillermo Espinoza %!s(int64=6) %!d(string=hai) anos
pai
achega
686ad21835
Modificáronse 1 ficheiros con 6 adicións e 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 build --no-cache --tag $CONTAINER_IMAGE:latest ftth
     - docker push $CONTAINER_IMAGE:latest
     - docker push $CONTAINER_IMAGE:latest
   dependencies:
   dependencies:
-    - ftth_clone
+    - ftth_clone
+  only:
+    refs:
+      - pushes
+    variables:
+      - $CI_COMMIT_REF_NAME == "master"