This commit is contained in:
Milka64 2023-12-27 17:07:15 +01:00
parent ff98d6b453
commit e8fef9801e

21
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,21 @@
stages:
- login
- build
- push
- deploy
deploy:
stage: deploy
script : sudo docker-compose --env-file /data/docker/compose-files/others.env -f /data/docker/compose-files/others.yml up -d
build:
stage: build
script: sudo docker build -t hub.0w.tf/milka64/kabot:latest .
push:
stage: push
script: sudo docker push hub.0w.tf/milka64/kabot:latest
login:
stage: login
script: sudo docker login -u milka64 -p $GL_TOKEN