obsolute-paste/.gitlab-ci.yml
baalajimaestro bcf7ef44c5
Add a gitlab-ci.yml to build and push
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 22:12:53 +05:30

7 lines
337 B
YAML

docker-build:
stage: build
before_script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
script:
- docker build . -t registry.baalajimaestro.me/baalajimaestro/obsolute-paste:latest
- docker push registry.baalajimaestro.me/baalajimaestro/obsolute-paste:latest