diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f9f46e70a475af7882cc296c22c45ee2a23301ff..7b0be11ad31c8046093cf421bcd44c88d3f4fc62 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ workflow: stages: - test + - release - build variables: @@ -34,6 +35,14 @@ lint dockerfile: changes: - Dockerfile +release: + stage: release + image: docker.io/python:3.8-alpine + before_script: + - pip install --user --requirement requirements.ci.txt + script: + - semantic-release --verbosity=DEBUG publish + build container image: stage: build image: