From 05ae587f98545b0bb4f7735304502634ae2029f5 Mon Sep 17 00:00:00 2001
From: Burak Hancerli <burak.hancerli@qt.io>
Date: Sun, 1 Oct 2023 12:14:39 +0200
Subject: [PATCH] cicd: fix cicd

---
 cicd/stages/build.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/cicd/stages/build.yml b/cicd/stages/build.yml
index e84202d..3d171cf 100644
--- a/cicd/stages/build.yml
+++ b/cicd/stages/build.yml
@@ -1,11 +1,16 @@
 # QDS_CI_BUILD_QT_VERSION_ANDROID and QDS_CI_BUILD_QT_VERSION_WASM are the tags for the docker images.
 # https://git.qt.io/design-studio/maintenance/docker-images/container_registry
+
+.build-base:
+  rules:
+    - if: $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web"
+
 build-wasm-multiarch:
   stage: build
+  extends: .build-base
   tags:
     - linux-blade
   rules:
-    - if: $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web"
     - if: $QDS_CI_QT_VERSION == "643" && $QDS_CI_JOB_TARGET_ARCH == "32"
     - if: $QDS_CI_QT_VERSION != "643" && $QDS_CI_JOB_TARGET_ARCH == "singlethread"
     - if: $QDS_CI_QT_VERSION != "643" && $QDS_CI_JOB_TARGET_ARCH == "multithread"
-- 
GitLab