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
b5c2703a
Commit
b5c2703a
authored
Jun 29, 2022
by
anashwara.pv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
c27b075e
Pipeline
#37825
failed
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
19 deletions
+21
-19
.gitlab-ci.yml
.gitlab-ci.yml
+21
-19
No files found.
.gitlab-ci.yml
View file @
b5c2703a
...
@@ -6,18 +6,20 @@ build:
...
@@ -6,18 +6,20 @@ build:
tags
:
tags
:
-
http
-
http
stage
:
build
stage
:
build
workflow
:
rules
:
-
if
:
$CI_MERGE_REQUEST_APPROVED
job1
:
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:latest
-
docker logout
-
docker logout
stagename
:
workflow
:
rules
:
-
if
:
$CI_MERGE_REQUEST_APPROVED
....
stagename
:
stage
:
stage
stage
:
stage
only
:
only
:
-
branchname
-
branchname
...
...
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