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

Update .gitlab-ci.yml

parent c7949ab3
Branches master
No related tags found
1 merge request!1Draft: Master
Pipeline #1132 passed with stage
in 14 minutes and 4 seconds
......@@ -4,7 +4,7 @@ image: docker:latest
stages:
- build
- dockerhub-push
services:
- docker:18.09.7-dind
......@@ -24,22 +24,12 @@ build-master:
stage: build
script:
- ./buildEclipseStack.sh
#- docker build --pull -t "$CI_REGISTRY_IMAGE" .
#- docker push "$CI_REGISTRY_IMAGE"
only:
- master
dockerhub:
stage: dockerhub-push
script:
- docker login -u kosted -p $KOSTED_DOCKER_HUB_TOKEN
- export DOCKER_ID_USER="kosted"
#- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- echo $DOCKER_ID_USER $VERSION
- docker images
- docker tag registry.eu-west-0.prod-cloud-ocb.orange-business.com/cloud-biomass-maap/bmap-stack:$VERSION kosted/bmap-stack:$VERSION
- docker push $DOCKER_ID_USER/bmap-stack:$VERSION
#- docker build --pull -t "$CI_REGISTRY_IMAGE" .
#- docker push "$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