Skip to content
Snippets Groups Projects
Commit 29bdcde0 authored by Teddy Kossoko's avatar Teddy Kossoko
Browse files

Update .gitlab-ci.yml

parent fa7a3b42
Branches master
No related tags found
1 merge request!2Update .gitlab-ci.yml
......@@ -4,7 +4,6 @@ image: docker:latest
stages:
- build
- test
services:
- docker:18.09.7-dind
......@@ -15,19 +14,17 @@ variables:
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
#- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- docker login -u eu-west-0@$AK -p 2a66e70323f94d692f02a0e606178fb4c3dae89894092455c792fb48a13dc3d6 registry.eu-west-0.prod-cloud-ocb.orange-business.com/cloud-biomass-maap
build-master:
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
- ./buildEclipseStack.sh
#- docker build --pull -t "$CI_REGISTRY_IMAGE" .
#- docker push "$CI_REGISTRY_IMAGE"
only:
- master
build-test:
stage: test
script:
- docker run "$CI_REGISTRY_IMAGE"
only:
- master
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