diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0350071ce4473a6cf3e3768c10a035588ad39a65..838d4c92256800fa091a7011bec37cb9cebd2552 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,7 +15,7 @@ variables:
   except:
     - tags
   before_script:
-    - pip install poetry==1.1.6
+    - pip install poetry==1.2.2
     - poetry config virtualenvs.create false
     - poetry install
 
diff --git a/deploy/Dockerfile b/deploy/Dockerfile
index 701aa312fedf0eb2841db77c6cc5e3f1a87b6487..cfa4784ae20571ea8b9915bad573daab56d2e2e4 100644
--- a/deploy/Dockerfile
+++ b/deploy/Dockerfile
@@ -3,7 +3,7 @@ FROM python:3.9.6-slim-buster
 RUN useradd -m bot
 
 USER bot
-RUN pip install poetry==1.1.6
+RUN pip install poetry==1.2.2
 
 ENV PATH="${PATH}:/home/bot/.poetry/bin:/home/bot/.local/bin"