Add gitlab ci config

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-08-22 12:46:56 +05:30
parent b47b3c7dc2
commit 3892eef8ed
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

10
.gitlab-ci.yml Normal file
View file

@ -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