From fa6281a4fdbefe08a0cfe52d1f95a904e52f7042 Mon Sep 17 00:00:00 2001 From: Akash Yadav Date: Thu, 27 Mar 2025 14:59:19 +0530 Subject: [PATCH] fix(ci): do not run build jobs for post-release pipelines --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 31f42d9a..cab191ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -126,6 +126,8 @@ build-apk: - scripts/**/* - Dockerfile - .gitlab-ci.yml + - if: $CI_COMMIT_TAG + when: never build-apk-set: image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG @@ -159,6 +161,8 @@ build-apk-set: - scripts/**/* - Dockerfile - .gitlab-ci.yml + - if: $CI_COMMIT_TAG + when: never prepare-release: image: alpine:latest