Ver código fonte

.gitlab-ci.yml updated

Espinoza Guillermo 6 anos atrás
pai
commit
554f6a9e46
1 arquivos alterados com 6 adições e 5 exclusões
  1. 6 5
      .gitlab-ci.yml

+ 6 - 5
.gitlab-ci.yml

@@ -1,6 +1,7 @@
 stages:
 stages:
   - pre-build
   - pre-build
   - build
   - build
+  - tag
   - test
   - test
   - deploy
   - deploy
 
 
@@ -50,7 +51,7 @@ docker_base:
       - $CI_COMMIT_REF_NAME == "master"
       - $CI_COMMIT_REF_NAME == "master"
 
 
 docker_version_tag_base:
 docker_version_tag_base:
-  stage: build
+  stage: tag
   script:
   script:
     - docker info
     - docker info
     - docker login -u $DOCKER_USER -p $DOCKER_PWD docker.infra.flowdat.com
     - docker login -u $DOCKER_USER -p $DOCKER_PWD docker.infra.flowdat.com
@@ -82,7 +83,7 @@ docker_cwmp:
     - docker_base
     - docker_base
 
 
 docker_version_tag_cwmp:
 docker_version_tag_cwmp:
-  stage: build
+  stage: tag
   script:
   script:
     - docker info
     - docker info
     - docker login -u $DOCKER_USER -p $DOCKER_PWD docker.infra.flowdat.com
     - docker login -u $DOCKER_USER -p $DOCKER_PWD docker.infra.flowdat.com
@@ -114,7 +115,7 @@ docker_gui:
     - docker_base
     - docker_base
 
 
 docker_version_tag_gui:
 docker_version_tag_gui:
-  stage: build
+  stage: tag
   script:
   script:
     - docker info
     - docker info
     - docker login -u $DOCKER_USER -p $DOCKER_PWD docker.infra.flowdat.com
     - docker login -u $DOCKER_USER -p $DOCKER_PWD docker.infra.flowdat.com
@@ -146,7 +147,7 @@ docker_nbi:
     - docker_base
     - docker_base
 
 
 docker_version_tag_nbi:
 docker_version_tag_nbi:
-  stage: build
+  stage: tag
   script:
   script:
     - docker info
     - docker info
     - docker login -u $DOCKER_USER -p $DOCKER_PWD docker.infra.flowdat.com
     - docker login -u $DOCKER_USER -p $DOCKER_PWD docker.infra.flowdat.com
@@ -178,7 +179,7 @@ docker_fs:
     - docker_base
     - docker_base
 
 
 docker_version_tag_fs:
 docker_version_tag_fs:
-  stage: build
+  stage: tag
   script:
   script:
     - docker info
     - docker info
     - docker login -u $DOCKER_USER -p $DOCKER_PWD docker.infra.flowdat.com
     - docker login -u $DOCKER_USER -p $DOCKER_PWD docker.infra.flowdat.com