.gitlab-ci.yml 332 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
17
  image: docker:latest
  stage: build
  variables:
    CI_DEBUG_TRACE: "false"
  script:
    - docker login -u "$DOCKER_USER" -p "$DOCKER_PASS"
18
19
    - docker build -t aghozlane/shaman .
    #- docker push -t aghozlane/shaman