From 6e511f42a6faa1a2a68fde4c0dc1782fcdaa5d7a Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Mon, 17 Jan 2022 09:13:01 +0100 Subject: [PATCH] Don't run release twice on master Signed-off-by: Louis Vallat --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 80fead8..9d1b49d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,6 +23,8 @@ release: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker build . -t $CONTAINER_BRANCH_IMAGE - docker push $CONTAINER_BRANCH_IMAGE + except: + - master release-master: stage: release