Commit 384379b1 authored by Yury's avatar Yury

login to docker before push to dockerhub

parent 9e19589b
Pipeline #120 failed with stages
in 10 minutes and 48 seconds
......@@ -25,6 +25,7 @@ pypi_build:
- python3 setup.py sdist
- twine upload dist/*
docker_build:
stage: docker_build
tags:
......@@ -33,4 +34,6 @@ docker_build:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
only:
- master
\ No newline at end of file
- master
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
\ No newline at end of file
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