.gitlab-ci.yml 378 Bytes
Newer Older
1
2
3
4
dockerbuild:
  image: docker:latest
  before_script:
    - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
Kristof Korwisi's avatar
Kristof Korwisi committed
5
6
7
8
9
  only:
    - schedules
  stage: build
  script:
    - docker build -t $CI_REGISTRY_IMAGE .
Henrik Tramberend's avatar
Henrik Tramberend committed
10
11
    - docker push $CI_REGISTRY_IMAGE

Henrik Tramberend's avatar
Henrik Tramberend committed
12
13
14
15
16
17
18
19
20
stackbuild:
  tags: 
    - stack
  stage: build
  only:
    - master
  script:
    - stack setup
    - stack build -j 8 --fast