From 5596daf34cc9c64d73405ef490fe75c7ae50a177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20OLIVIER?= <cedric3.olivier@orange.com> Date: Wed, 6 Oct 2021 19:17:59 +0000 Subject: [PATCH] fix: use master or main for production env --- templates/gitlab-ci-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gitlab-ci-docker.yml b/templates/gitlab-ci-docker.yml index 1c23b78..cd4f5e2 100644 --- a/templates/gitlab-ci-docker.yml +++ b/templates/gitlab-ci-docker.yml @@ -41,7 +41,7 @@ variables: PUBLISH_ON_PROD: "true" # default production ref name (pattern) - PROD_REF: '/^master$/' + PROD_REF: '/^(master|main)$/' # default integration ref name (pattern) INTEG_REF: '/^develop$/' -- GitLab