Skip to content
Snippets Groups Projects
Commit d05dbf49 authored by Andrew Kapuscinski's avatar Andrew Kapuscinski
Browse files

fix regex for triggering test deploy via git tag

parent 4af35afe
No related branches found
No related tags found
1 merge request!170fix regex for triggering test deploy via git tag
Pipeline #1136 passed
......@@ -18,7 +18,7 @@
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
variables:
IMAGE_TAG: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
- if: '$CI_COMMIT_TAG =~ /^end-of-sprint\/[0-9]+/'
- if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/'
variables:
IMAGE_TAG: $CI_COMMIT_TAG
# override DEPLOY_ENV
......
......@@ -9,7 +9,7 @@
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
variables:
IMAGE_TAG: $CI_DEFAULT_BRANCH
- if: '$CI_COMMIT_TAG =~ /^end-of-sprint\/[0-9]+/'
- if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/'
variables:
IMAGE_TAG: $CI_COMMIT_TAG
# - if: '$CI_COMMIT_TAG =~ /^test_[0-9]+\.[0-9]+.[0-9]+$/'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment