.drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ale 2024-10-06 17:29:56 +02:00
parent 1cb5a9c0a7
commit bdd045783c

View File

@ -26,9 +26,9 @@ steps:
- name: etcdocker - name: etcdocker
path: /etc/docker path: /etc/docker
commands: commands:
- docker login -u $USER -p $PASS $REGISTRY
- docker run --rm --privileged $REGISTRY/qemu-user-static --reset -p yes - docker run --rm --privileged $REGISTRY/qemu-user-static --reset -p yes
- git clone --recursive https://git.manalejandro.com/ale/libretranslate-api . - git clone --recursive https://git.manalejandro.com/ale/libretranslate-api .
- docker login -u $USER -p $PASS $REGISTRY
- cd LibreTranslate && docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f ./docker/Dockerfile . - cd LibreTranslate && docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f ./docker/Dockerfile .
- docker push $REGISTRY/libretranslate-api - docker push $REGISTRY/libretranslate-api
when: when: