.gitlab-ci.yml 462 Bytes
Newer Older
Amine  GHOZLANE's avatar
Amine GHOZLANE committed
1
2
3
stages:
  - build

Amine  GHOZLANE's avatar
Amine GHOZLANE committed
4
5
6
7
8
9
10
11
services:
  - docker:dind

variables:
  DOCKER_HOST: tcp://localhost:2375


build_master:
Amine  GHOZLANE's avatar
Amine GHOZLANE committed
12
13
14
15
16
  image: docker:latest
  stage: build
  variables:
    CI_DEBUG_TRACE: "false"
  script:
Amine  GHOZLANE's avatar
Amine GHOZLANE committed
17
18
19
20
    #- docker login -u "$DOCKER_USER" -p "$DOCKER_PASS"
    - docker build -t registry-gitlab.pasteur.fr/aghozlan/shaman .
    - docker push registry-gitlab.pasteur.fr/aghozlan/shaman
    #- docker build -t aghozlane/shaman .
21
    #- docker push -t aghozlane/shaman