diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..709049e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,10 @@ +docker-build: + image: docker:latest + stage: build + services: + - docker:dind + before_script: + - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin + script: + - docker build . -t registry.baalajimaestro.me/baalajimaestro/mail-deleter:latest + - docker push registry.baalajimaestro.me/baalajimaestro/mail-deleter:latest \ No newline at end of file