Commit 19776b50 authored by Tomasz Walkowiak's avatar Tomasz Walkowiak

Update .gitlab-ci.yml: build docker huba image

parent 5106328e
Pipeline #738 failed
......@@ -4,6 +4,11 @@ cache:
paths:
- .tox
stages:
- check_style
- build
before_script:
- pip install tox==2.9.1
......@@ -14,5 +19,22 @@ pep8:
docstyle:
script:
- tox -v -e docstyle
build_image:
stage: build
image: docker:18.09.7
only:
- master
services:
- docker:18.09.7-dind
before_script:
- ''
script:
- docker build -t clarinpl/cluto .
- echo $DOCKER_PASSWORD > pass.txt
- cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
- rm pass.txt
- docker push clarinpl/cluto
Markdown is supported
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