Fix docs failure

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ifd8f8e9acc9ff60524594e77db40cde1a14510ee
Issue-ID: SDC-4548
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index 3797dc8..e442ca7 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -9,10 +9,11 @@
   - htmlzip
 
 build:
-  image: latest
+  os: ubuntu-20.04
+  tools:
+    python: "3.8"
 
 python:
-  version: 3.7
   install:
     - requirements: docs/requirements-docs.txt