Add a gitlab-ci.yml to build and push the image
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
5efcf196f5
commit
44789e29bf
1 changed files with 10 additions and 0 deletions
10
.gitlab-ci.yml
Normal file
10
.gitlab-ci.yml
Normal 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/nim-censor-bot:latest
|
||||||
|
- docker push registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
|
Loading…
Reference in a new issue