.drone.yml
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
ale 2024-10-06 00:53:50 +02:00
parent f9d56fde24
commit 7239d3842e

View File

@ -21,7 +21,7 @@ steps:
REGISTRY:
from_secret: registry
commands:
- cat /etc/docker/daemon.json
- echo '{"insecure-registries": ["$REGISTRY"]}' > /etc/docker/daemon.json && service docker reload
- git clone --recursive https://git.manalejandro.com/ale/libretranslate-api /drone/src/
- docker login -u $USER -p $PASS $REGISTRY
- cd /drone/src && docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f docker/Dockerfile ./LibreTranslate