Skip to content
Snippets Groups Projects
Commit 03f597a3 authored by bwalkow's avatar bwalkow
Browse files

Fix nlp-ws version, refactor CI

parent 049e4402
No related branches found
No related tags found
No related merge requests found
Pipeline #11131 passed
image: 'clarinpl/python:3.6' image: 'clarinpl/python:3.6'
cache:
paths:
- .tox
stages: stages:
# - check_style
- build - build
before_script:
- pip install tox==2.9.1
# pep8:
# stage: check_style
# script:
# - tox -v -e pep8
# docstyle:
# stage: check_style
# script:
# - tox -v -e docstyle
build_image: build_image:
stage: build stage: build
image: 'docker:18.09.7' image: docker:18.09
only: only:
- v1 - v1
services: services:
- 'docker:18.09.7-dind' - docker
variables:
DOCKERHUB_NAME: clarinpl/anonymizer
before_script:
- ''
script: script:
- docker build -t $DOCKERHUB_NAME . - docker build -t $CI_REGISTRY_IMAGE:v1 .
- echo $DOCKER_PASSWORD > pass.txt
- cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
- rm pass.txt
- docker push $DOCKERHUB_NAME
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - 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 push $CI_REGISTRY_IMAGE:v1
- docker push $CI_REGISTRY_IMAGE
nlp-ws nlp-ws<=0.8
regex==2020.10.28 regex==2020.10.28
Babel==2.8.0 Babel==2.8.0
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment