diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c77dfeb --- /dev/null +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file