Commit aa1f54bd authored by rajkumar's avatar rajkumar
Browse files

Updating regx for prod build and deployment

parent 6bef0c6c
...@@ -30,7 +30,6 @@ docker-build-test: ...@@ -30,7 +30,6 @@ docker-build-test:
only: only:
- /^test-.*$/ - /^test-.*$/
except: except:
- branches
- triggers - triggers
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
...@@ -71,7 +70,6 @@ k8s-deploy-test: ...@@ -71,7 +70,6 @@ k8s-deploy-test:
only: only:
- /^test-.*$/ - /^test-.*$/
except: except:
- branches
- triggers - triggers
script: script:
- sed -i s#%DOCKER_IMAGE%#$CI_REGISTRY_IMAGE\:$CI_COMMIT_TAG#g Kubernetes-test-deploy.yaml - sed -i s#%DOCKER_IMAGE%#$CI_REGISTRY_IMAGE\:$CI_COMMIT_TAG#g Kubernetes-test-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