diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index da6251ff6b9a8c56923bb1d45765988a12bb93df..8e0492028154b15f9013d1c51c587b26af3f3a6d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,15 +16,10 @@ build-openapi-scheme:
   stage: build
   image: python:3.10-alpine
   variables:
-    SECRET_KEY: not-a-very-secret-key
-    DJANGO_SETTINGS_MODULE: steering.settings
-    # steering.settings switches to sqlite if the VIRTUAL_ENV environment
-    # variable is present. It’s probably a good idea to refactor this to
-    # something more explicit.
     OPENAPI_JSON: ./public/api.json
   before_script:
     - apk add gcc musl-dev zlib-dev jpeg-dev libmagic
-    - pip install poetry==1.2.1
+    - pip install poetry==1.2.2
     - poetry install --without dev,test --no-root
   script:
     - mkdir public