From 3892eef8ede1dbfab2b35c306a4b7cea98750d4c Mon Sep 17 00:00:00 2001 From: baalajimaestro Date: Mon, 22 Aug 2022 12:46:56 +0530 Subject: [PATCH] Add gitlab ci config Signed-off-by: baalajimaestro --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .gitlab-ci.yml 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