Commit 226f5a52 authored by rajkumar's avatar rajkumar
Browse files

Updating regx for prod build and deployment

parent 6f350449
......@@ -40,6 +40,8 @@ docker-build-prod:
stage: package
only:
- /^(?!dev-|test-).*$/
- master
- tags
# refs:
# - master
# - tags
......@@ -80,9 +82,11 @@ k8s-deploy-prod:
stage: deploy
only:
- /^(?!dev-|test-).*$/
refs:
- master
- tags
#refs:
# - master
# - tags
script:
- sed -i s#%DOCKER_IMAGE%#$CI_REGISTRY_IMAGE\:$CI_COMMIT_TAG#g Kubernetes-prod-deploy.yaml
- 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