Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
enasequence
webin-portal
Commits
66328259
Commit
66328259
authored
Mar 22, 2021
by
rajkumar
Browse files
Updating regx for prod build and deployment
parent
aa1f54bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
No files found.
.gitlab-ci.yml
View file @
66328259
...
...
@@ -43,7 +43,7 @@ docker-build-prod:
-
master
-
tags
variables
:
-
$CI_COMMIT_BRANCH == "master"
#
- $CI_COMMIT_BRANCH == "master"
-
/^(?!dev-|test-).*/
script
:
-
docker login $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
...
...
@@ -85,7 +85,7 @@ k8s-deploy-prod:
-
master
-
tags
variables
:
-
$CI_COMMIT_BRANCH == "master"
#
- $CI_COMMIT_BRANCH == "master"
-
/^(?!dev-|test-).+/
script
:
-
sed -i s#%DOCKER_IMAGE%#$CI_REGISTRY_IMAGE\:$CI_COMMIT_TAG#g Kubernetes-prod-deploy.yaml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment