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

This commit is contained in:
ale 2024-10-06 00:41:33 +02:00
parent 39e56a50e9
commit ff0f869235

View File

@ -26,10 +26,9 @@ steps:
- name: usrbin
path: /usr/bin
commands:
- apk update && apk fix --reinstall git
- git clone --recursive https://git.manalejandro.com/ale/libretranslate-api .
- /usr/bin/git clone --recursive https://git.manalejandro.com/ale/libretranslate-api /drone/src/
- docker login -u $USER -p $PASS $REGISTRY
- docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f docker/Dockerfile ./LibreTranslate
- cd /drone/src && docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f docker/Dockerfile ./LibreTranslate
- docker push $REGISTRY/libretranslate-api
when:
event: