.gitlab-ci.yml hinzufügen

This commit is contained in:
Patrick Jentsch 2019-03-11 23:27:47 +01:00
parent 19ac9e8999
commit 6951fda4b6

13
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,13 @@
image: docker:latest
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build:
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"