From 4916598795ba571f35d71fecc4d6bd492cfb639d Mon Sep 17 00:00:00 2001 From: bom Date: Fri, 20 May 2022 15:07:06 +0200 Subject: [PATCH] fixed ci to only release with tag --- .gitlab-ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c1dd8b5..7e7d679 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,18 +42,17 @@ pypi-stable: - pyb -P version=$CI_COMMIT_TAG publish upload clojure-image-test-publish: - image: domaindrivenarchitecture/devops-build:0.15.5 + image: domaindrivenarchitecture/devops-build:latest stage: image - # JUST FOR DEBUGGING - #rules: - # - if: '$CI_COMMIT_TAG != null' + rules: + - if: '$CI_COMMIT_TAG != null' script: - cd infrastructure/clojure && pyb image test publish devops-build-image-test-publish: - image: domaindrivenarchitecture/devops-build:0.15.5 + image: domaindrivenarchitecture/devops-build:latest stage: image - #rules: - # - if: '$CI_COMMIT_TAG != null' + rules: + - if: '$CI_COMMIT_TAG != null' script: - cd infrastructure/devops-build && pyb image test publish