.gitlab-ci.yml
This commit is contained in:
parent
856c65919e
commit
1b45ec7b48
15
.gitlab-ci.yml
Normal file
15
.gitlab-ci.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user