From 0fde2264f02fc01640a30214100e691da6e2a2ab Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 21 Jun 2021 11:33:51 +0200 Subject: [PATCH] Fix GitlabCI for tags Signed-off-by: Thomas Citharel --- .gitlab-ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 86357bdc7..9c731a543 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -253,6 +253,10 @@ package-app-dev: release-upload: stage: upload image: framasoft/yakforms-assets-deploy:latest + rules: + - if: '$CI_PROJECT_NAMESPACE != "framasoft"' + when: never + - if: $CI_COMMIT_TAG only: variables: - $CI_COMMIT_TAG @@ -279,9 +283,10 @@ release-upload: release-create: stage: deploy image: registry.gitlab.com/gitlab-org/release-cli:latest - only: - variables: - - $CI_COMMIT_TAG + rules: + - if: '$CI_PROJECT_NAMESPACE != "framasoft"' + when: never + - if: $CI_COMMIT_TAG before_script: - apk --no-cache add awk sed grep script: |