Commit 4cf61184 authored by Jason Ouellet's avatar Jason Ouellet

Création du pipeline Gitlab

parent def863c1
Pipeline #11163 failed
image: docker:stable
services:
- docker:dind
before_script:
- docker info
build:
only:
- master
before_script:
- docker login registry.gitlab.com -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD}
script:
- docker build -t ${CI_REGISTRY}/${CI_PROJECT_PATH}:latest .
- docker push ${CI_REGISTRY}/${CI_PROJECT_PATH}:latest
after_script:
- docker logout ${CI_REGISTRY}
stage: build
tags:
- docker
\ No newline at end of file
Markdown is supported
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