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