Commit 2d170b28 authored by Remi Cresson's avatar Remi Cresson
Browse files

ADD: CI

parent 87da9028
No related merge requests found
Showing with 20 additions and 0 deletions
+20 -0
stages:
- docker
Build docker image:
stage: docker
image: docker/compose:1.29.2
allow_failure: false
tags: [ dind ]
variables:
IMG: $CI_REGISTRY_IMAGE:latest
DOCKER_TLS_CERTDIR: ""
DOCKER_HOST: tcp://docker:2375
services:
- name: docker:dind
command: [ dockerd, '-H', 'tcp://0.0.0.0:2375' ]
before_script:
- echo -n $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
script:
- docker build --tag $IMG .
- docker push $IMG
Supports Markdown
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