Skip to content
Snippets Groups Projects
Commit 0c88b029 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

Update .gitlab-ci.yml

parent 28892042
No related branches found
No related tags found
1 merge request!11Recette
......@@ -32,6 +32,18 @@ build_dev:
- docker build --pull -t "$CI_REGISTRY_IMAGE:dev" --build-arg conf=dev .
- docker push "$CI_REGISTRY_IMAGE:dev"
build_json_server:
image: docker:18.09
services:
- docker:18.09-dind
stage: build
only:
- dev
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE:json_server" ./api/
- docker push "$CI_REGISTRY_IMAGE:json_server"
deploy_dev:
stage: deploy
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment