Commit fadea931 authored by rajkumar's avatar rajkumar
Browse files

Updating deploy tasks using rules.

parent 42b8859a
Pipeline #278348 skipped with stage
......@@ -38,12 +38,12 @@ docker-build-test:
docker-build-prod:
stage: package
only:
- /^(\d+\.)?(\d+\.)?(\*|\d+)$/
variables:
- $CI_COMMIT_BRANCH == "master"
#rules:
# - if: '$CI_COMMIT_BRANCH == "master"'
# only:
# - /^(\d+\.)?(\d+\.)?(\*|\d+)$/
# variables:
# - $CI_COMMIT_BRANCH == "master"
rules:
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_REF_NAME =~ /^(\d+\.)?(\d+\.)?(\*|\d+)$/'
# - if: '$CI_COMMIT_TAG'
# - if: '$CI_COMMIT_REF_NAME =~ /^(\d+\.)?(\d+\.)?(\*|\d+)$/'
......
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