Commit 87a53a76 authored by rajkumar's avatar rajkumar
Browse files

Updating deploy tasks using rules.

parent 33a2ee56
......@@ -38,10 +38,14 @@ docker-build-test:
docker-build-prod:
stage: package
only:
- tags && /^(\d+\.)?(\d+\.)?(\*|\d+)$/
variables:
- $CI_COMMIT_BRANCH == "master"
#only:
# - tags && /^(\d+\.)?(\d+\.)?(\*|\d+)$/
# variables:
# - $CI_COMMIT_BRANCH == "master"
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_REF_NAME =~ /^(\d+\.)?(\d+\.)?(\*|\d+)$/
except:
- triggers
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment