From 865c70df6cea66f440c9ec334d68a8b908022069 Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Mon, 16 Aug 2021 22:09:50 +0200
Subject: [PATCH] Add user

---
 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 61f3423..fc15a87 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
-- 
GitLab