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

Update .gitlab-ci.yml

parent b5c2703a
Pipeline #37827 failed
......@@ -5,27 +5,22 @@ stages:
build:
tags:
- http
stage: build
workflow:
rules:
- if: $CI_MERGE_REQUEST_APPROVED
job1:
stage: build
job:
script:
- docker logout
- docker login -u="anashwaraanu" -p="Anashu@25"
- docker build -t anashwaraanu/micro_service_cicd:latest .
- docker push anashwaraanu/micro_service_cicd:latest
- docker logout
stagename:
stage: stage
only:
- branchname
- merge_requests
except:
- master
only:
- branchname
- merge_requests
except:
- master
rules:
- if: $CI_MERGE_REQUEST_APPROVED
test:
......
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