Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DockerProject
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
anashwara.pv
DockerProject
Commits
0c16c286
Commit
0c16c286
authored
Jun 29, 2022
by
anashwara.pv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
b9374dbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
18 deletions
+17
-18
.gitlab-ci.yml
.gitlab-ci.yml
+17
-18
No files found.
.gitlab-ci.yml
View file @
0c16c286
stages
:
stages
:
-
build
-
build
-
test
-
test
build
:
build
:
tags
:
tags
:
-
http
-
http
stage
:
build
stage
:
build
job
:
script
:
script
:
-
docker logout
-
docker logout
-
docker login -u="anashwaraanu" -p="Anashu@25"
-
docker login -u="anashwaraanu" -p="Anashu@25"
-
docker build -t anashwaraanu/micro_service_cicd:latest .
-
docker build -t anashwaraanu/micro_service_cicd:latest .
-
docker push anashwaraanu/micro_service_cicd:latest
-
docker push anashwaraanu/micro_service_cicd:lates
t
-
docker logou
t
-
docker logout
job1
:
script
:
only
:
-
echo "This job runs in merge request pipelines"
-
branchname
only
:
-
merge_requests
-
branchname
except
:
-
merge_requests
-
master
except
:
rules
:
-
master
-
if
:
$CI_MERGE_REQUEST_APPROVED
workflow
:
rules
:
-
if
:
$CI_MERGE_REQUEST_APPROVED
test
:
test
:
stage
:
test
stage
:
test
script
:
script
:
...
...
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