Loading .gitlab-ci.yml +12 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ cache: stages: - build - deploy Style check: stage: build Loading @@ -30,3 +31,14 @@ Type check: - pip install pytype script: - pytype scripts Deploy docker image: stage: deploy image: docker:latest services: - docker:dind script: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker build -t $CI_REGISTRY/nlp/ahisto-modules/ocr-eval . - docker push $CI_REGISTRY/nlp/ahisto-modules/ocr-eval - docker rmi $CI_REGISTRY/nlp/ahisto-modules/ocr-eval Loading
.gitlab-ci.yml +12 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ cache: stages: - build - deploy Style check: stage: build Loading @@ -30,3 +31,14 @@ Type check: - pip install pytype script: - pytype scripts Deploy docker image: stage: deploy image: docker:latest services: - docker:dind script: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker build -t $CI_REGISTRY/nlp/ahisto-modules/ocr-eval . - docker push $CI_REGISTRY/nlp/ahisto-modules/ocr-eval - docker rmi $CI_REGISTRY/nlp/ahisto-modules/ocr-eval