Commit b5c2703a authored by anashwara.pv's avatar anashwara.pv

Update .gitlab-ci.yml

parent c27b075e
Pipeline #37825 failed
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment