diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b050fef2d961b0e452a54d238d6b90872827e987..0413e8c86061fc66ca1b3434228e5d2bbfc0249f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,19 +1,14 @@
-image: clarinpl/python:3.8
+image: python:latest
 
-cache:
-  paths:
-    - .tox
 stages:
   - publish
 
 pypi_publish:
-  before_script:
-   - pip install build twine
-   - pip install urllib3==1.26.6
   only:
-   - main
+    - main
   stage: publish
   script:
+    - pip install build twine
     - python -m build
     - python -m twine upload
      --skip-existing