Commit c1a99832 authored by rajkumar's avatar rajkumar
Browse files

Updating regx for prod build and deployment

parent 66328259
...@@ -42,8 +42,6 @@ docker-build-prod: ...@@ -42,8 +42,6 @@ docker-build-prod:
refs: refs:
- master - master
- tags - tags
variables:
#- $CI_COMMIT_BRANCH == "master"
- /^(?!dev-|test-).*/ - /^(?!dev-|test-).*/
script: script:
- docker login $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD - docker login $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
...@@ -84,8 +82,6 @@ k8s-deploy-prod: ...@@ -84,8 +82,6 @@ k8s-deploy-prod:
refs: refs:
- master - master
- tags - tags
variables:
#- $CI_COMMIT_BRANCH == "master"
- /^(?!dev-|test-).+/ - /^(?!dev-|test-).+/
script: script:
- sed -i s#%DOCKER_IMAGE%#$CI_REGISTRY_IMAGE\:$CI_COMMIT_TAG#g Kubernetes-prod-deploy.yaml - sed -i s#%DOCKER_IMAGE%#$CI_REGISTRY_IMAGE\:$CI_COMMIT_TAG#g Kubernetes-prod-deploy.yaml
......
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