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

This commit is contained in:
ale 2024-10-04 13:07:14 +02:00
parent 055d5a75c3
commit 28f11ea57f

View File

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