From 668906398de23fe4bb86d3d220af207701a6f688 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 5 May 2024 09:05:31 -0500 Subject: [PATCH] update --- pipelines/golang.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipelines/golang.yml b/pipelines/golang.yml index c23ef82..a81b7aa 100644 --- a/pipelines/golang.yml +++ b/pipelines/golang.yml @@ -50,7 +50,7 @@ gobuild: extends: .golang-build stage: build rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' || $CI_MERGE_REQUEST_IID exists: - "go.mod" @@ -65,7 +65,7 @@ docker-build: artifacts: true rules: rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' || $CI_MERGE_REQUEST_IID exists: - "Dockerfile"