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
9c4876d8
Commit
9c4876d8
authored
Mar 22, 2021
by
rajkumar
Browse files
Updating regx for prod build and deployment
parent
909df5ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
.gitlab-ci.yml
.gitlab-ci.yml
+3
-1
No files found.
.gitlab-ci.yml
View file @
9c4876d8
...
...
@@ -40,6 +40,7 @@ docker-build-test:
docker-build-prod
:
stage
:
package
only
:
-
/^(?!dev-|test-).+/
refs
:
-
master
-
tags
...
...
@@ -47,7 +48,7 @@ docker-build-prod:
-
$CI_COMMIT_BRANCH == "master"
script
:
-
docker login $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
-
docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG --build-arg configuration=production .
-
docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG --build-arg configuration=production
--build-arg basePath=/ena/submit/webin/
.
-
docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
k8s-deploy-dev
:
...
...
@@ -82,6 +83,7 @@ k8s-deploy-prod:
image
:
dtzar/helm-kubectl
stage
:
deploy
only
:
-
-
/^(?!dev-|test-).+/
refs
:
-
master
-
tags
...
...
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