Skip to content
Snippets Groups Projects
Commit 8efc6040 authored by bwalkow's avatar bwalkow
Browse files

Change lib version

parent a8163416
1 merge request!2Model
Pipeline #8266 failed with stages
in 27 seconds
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
......@@ -7,6 +7,7 @@ cache:
stages:
- check_style
- build
- build_develop
before_script:
- pip install tox==2.9.1
......@@ -21,24 +22,23 @@ docstyle:
script:
- tox -v -e docstyle
build_image:
build_master:
stage: build
image: 'docker:18.09.7'
only:
- master
services:
- 'docker:18.09.7-dind'
variables:
DOCKERHUB_NAME: clarinpl/$CI_PROJECT_NAME
before_script:
- ''
script:
- docker build -t $DOCKERHUB_NAME .
- echo $DOCKER_PASSWORD > pass.txt
- cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
- rm pass.txt
- docker push $DOCKERHUB_NAME
- docker build -t $CI_REGISTRY_IMAGE:latest .
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
- docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE
- docker push $CI_REGISTRY_IMAGE:latest
build_develop:
stage: build_develop
image: 'docker:18.09.7'
only:
- model
script:
- docker build -t $CI_REGISTRY_IMAGE:develop .
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE:develop
autocorrect==2.1.0
nlp-ws
autocorrect
nlp-ws<=0.8
numpy==1.17.4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment