Commit d9f5660e authored by rajkumar's avatar rajkumar
Browse files

Updating regx for prod build and deployment

parent c1a99832
...@@ -79,10 +79,10 @@ k8s-deploy-prod: ...@@ -79,10 +79,10 @@ k8s-deploy-prod:
image: dtzar/helm-kubectl image: dtzar/helm-kubectl
stage: deploy stage: deploy
only: only:
- /^(?!dev-|test-).+/
refs: refs:
- master - master
- tags - tags
- /^(?!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
- kubectl delete secret gitlab --namespace=ena-prod - kubectl delete secret gitlab --namespace=ena-prod
......
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