.drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ale 2024-10-05 01:01:49 +02:00
parent 28f11ea57f
commit b791dfec0a

View File

@ -26,7 +26,8 @@ steps:
- name: usrbin
path: /usr/bin
commands:
- apk update && apk add git && /usr/bin/git clone --recursive https://git.manalejandro.com/ale/libretranslate-api .
- apk add --no-cache git --repository https://alpine.global.ssl.fastly.net/alpine/v3.10/main
- git clone --recursive https://git.manalejandro.com/ale/libretranslate-api .
- docker login -u $USER -p $PASS $REGISTRY
- docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f docker/Dockerfile ./LibreTranslate
- docker push $REGISTRY/libretranslate-api