From a78423c2ec31cc119ba25171b24258e9b7752d4f Mon Sep 17 00:00:00 2001
From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Date: Mon, 19 Sep 2022 09:48:14 +0000
Subject: [PATCH] ci: use docs-builder image for deploy job

The docs builder uses root as the primary user of the container,
therefore should alleviate cache ownership issues.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 59353be..17a0d19 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -141,6 +141,8 @@ build-docs:
 
 deploy:
   extends: .oniro-repo-workspace
+  image:
+    name: registry.ostc-eu.org/ostc/oniro/docs-builder:latest
   stage: deploy
   script:
     # We are in the root of the git-repo workspace.
-- 
GitLab