.gitlab-ci.yml 274 Bytes
Newer Older
ha's avatar
init    
ha committed
1
2
3
4
5
6
7
8
9
10
11
12
13
image: docker:latest

services:
  - docker:dind

before_script:
  - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY

build-master:
  stage: build
  script:
    - docker build --pull -t "$CI_REGISTRY_IMAGE" .
    - docker push "$CI_REGISTRY_IMAGE"