mail-deleter/.gitlab-ci.yml
baalajimaestro 3892eef8ed
Add gitlab ci config
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 12:46:56 +05:30

10 lines
No EOL
385 B
YAML

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