diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 61f34236bc44a08173501a31e33bdfa6a2179d1e..fc15a871fdcaaacded4d1034bd34b367572b3987 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,8 @@ image: python:3.9-buster +variables: + POETRY_REPOSITORIES_GITLAB_URL: "$CI_API_V4_URL/projects/257/packages/pypi" + stages: - build - publish @@ -29,4 +32,4 @@ deploy_gitlab: - pip3 install poetry script: - poetry version $(poetry version | cut -d" " -f2)+$(date --date=${CI_COMMIT_TIMESTAMP} +%Y%m%d%H%M%S); - - poetry publish -r gitlab + - poetry publish -u gitlab-ci-token -p ${CI_JOB_TOKEN} -r gitlab