diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ca89a0aaafbf61d89f2fbf66ba428570fca43b8..39ac2860086af2425141227baab26f79524d18e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,8 @@ # See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence stages: - test +- publish + sast: stage: test include: @@ -26,3 +28,11 @@ pytest: coverage_report: coverage_format: cobertura path: coverage.xml + +publish: + image: python:3.10-alpine + before_script: + - apk add poetry + - poetry install + script: + - poetry publish --build