Skip to content
Snippets Groups Projects
Commit 1c9acc92 authored by Hugo NOUTS's avatar Hugo NOUTS
Browse files

docker build

parent 7891efc0
No related branches found
No related tags found
No related merge requests found
Pipeline #8153 failed
...@@ -3,6 +3,10 @@ image: docker:git ...@@ -3,6 +3,10 @@ image: docker:git
services: services:
- docker:dind - docker:dind
variables:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
stages: stages:
- build - build
...@@ -12,5 +16,5 @@ build_master: ...@@ -12,5 +16,5 @@ build_master:
- master - master
script: 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 build --pull -t "$CI_REGISTRY_IMAGE" . - docker build -t registry.forge.grandlyon.com/web-et-numerique/llle_project/self-data-technical-doc .
- docker push "$CI_REGISTRY_IMAGE" - docker push registry.forge.grandlyon.com/web-et-numerique/llle_project/self-data-technical-doc
\ No newline at end of file \ No newline at end of file
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