Skip to content
Snippets Groups Projects
Commit 76626436 authored by Brice Copy's avatar Brice Copy
Browse files

Update .gitlab-ci.yml

parent 196cb610
No related branches found
No related tags found
No related merge requests found
Pipeline #1112436 failed
stages:
- build
- deploy
- build-eyodf
- deploy-eyodf
package baseline image with dind:
stage: build
tags:
- docker-privileged
image: docker:19.03.0
services:
- docker:19.03.0-dind
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
script:
- docker info
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE:baseline" .
only:
- master
deploy baseline image:
stage: deploy
tags:
......@@ -36,27 +16,12 @@ deploy baseline image:
script:
- docker info
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker build --pull -t "$CI_REGISTRY_IMAGE:baseline" .
- docker push "$CI_REGISTRY_IMAGE:baseline"
only:
- master
package eyodf image with dind:
stage: build-eyodf
tags:
- docker-privileged
image: $CI_REGISTRY_IMAGE:baseline
services:
- docker:19.03.0-dind
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
script:
- docker info
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- ./mvnw -Bq -s settings.xml package
deploy eyodf image with dind:
stage: deploy-eyodf
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment