.gitlab-ci.yml hinzufügen

This commit is contained in:
Patrick Jentsch 2019-03-11 23:54:13 +01:00
parent 44c759f7c2
commit bbd7ef33cf

13
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,13 @@
image: docker:latest
services:
- docker:dind
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
build:
stage: build
script:
- docker build --pull -t $CI_REGISTRY_IMAGE .
- docker push $CI_REGISTRY_IMAGE