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
226f5a52
Commit
226f5a52
authored
Mar 22, 2021
by
rajkumar
Browse files
Updating regx for prod build and deployment
parent
6f350449
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
.gitlab-ci.yml
.gitlab-ci.yml
+7
-3
No files found.
.gitlab-ci.yml
View file @
226f5a52
...
...
@@ -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
-
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
...
...
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