.gitlab-ci.yml 425 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
image: docker:stable

services:
    - docker:dind

stages:
    - build

before_script:
    - docker info
    - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD

Build image:
    stage: build
    script:
        - docker build -t superfiphoboserver:debian -f ./tools/ci.Dockerfile .
        - docker tag superfiphoboserver:debian ciaranorourke/fiphoboserver:debian
        - docker push ciaranorourke/fiphoboserver:debian