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

This commit is contained in:
ale 2024-10-06 00:51:51 +02:00
parent 7e2f5477a4
commit f9d56fde24

View File

@ -21,7 +21,7 @@ steps:
REGISTRY: REGISTRY:
from_secret: registry from_secret: registry
commands: commands:
- apk update && apk fix --reinstall git - cat /etc/docker/daemon.json
- git clone --recursive https://git.manalejandro.com/ale/libretranslate-api /drone/src/ - git clone --recursive https://git.manalejandro.com/ale/libretranslate-api /drone/src/
- docker login -u $USER -p $PASS $REGISTRY - docker login -u $USER -p $PASS $REGISTRY
- cd /drone/src && 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