diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index adb3a6a..6d43616 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ test: coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/ rules: - if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH || $CI_COMMIT_MESSAGE =~ /--check/ || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - when: always + when: manual ############### # BUILD STAGE # @@ -50,6 +50,7 @@ build: --tag $CI_REGISTRY_IMAGE:latest . - docker image ls - - docker push $CI_REGISTRY_IMAGE + - docker push $CI_REGISTRY_IMAGE:$VERSION + - docker push $CI_REGISTRY_IMAGE:latest only: - main