diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cd5d3305b412aa8955632851e128aa960453ab3f..4b6230e3182754ebd1f246bf2c6920d3c1e4194e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,7 +22,7 @@ before_script:
   - pip install -e .[dev]
 
 flake8:
-  image: python 3.8
+  image: python:3.8
   tags:
     - passoft
   stage: Build Env and Test
@@ -53,4 +53,3 @@ python3.9:
   stage: Build Env and Test
   script:
     - python -m unittest
-