Commit 9fda4c51 authored by Vishal Vaddadhi's avatar Vishal Vaddadhi

testing before script

parent aa33ce8a
Pipeline #1641 failed with stage
in 14 seconds
......@@ -10,6 +10,9 @@ variables:
REPO: order-management-backend
DOCKER_HOST: tcp://docker:2375
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN https://gitlab.mynisum.com/
stages:
# - build
- docker
......@@ -25,8 +28,8 @@ stages:
docker-build:
stage: docker
script:
- echo "$username"
- echo "$password"
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
# - echo "$username"
# - echo "$password"
# - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t registry.gitlab.com/vishalvaddadhi/order-management-backend .
- docker push registry.gitlab.com/vishalvaddadhi/order-management-backend
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