.gitlab-ci.yml

This commit is contained in:
ale 2024-04-18 17:47:30 +02:00
parent 856c65919e
commit 1b45ec7b48

15
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,15 @@
image: docker:dind
services:
- docker:dind
before_script:
- docker -v
build image:
stage: build
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
docker compose build libretranslate
- docker tag libretranslate $CI_REGISTRY/manalejandro/libretranslate-api/libretranslate-api:latest
- docker push $CI_REGISTRY/manalejandro/libretranslate-api/libretranslate-api:latest