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

This commit is contained in:
ale 2024-10-06 01:06:02 +02:00
parent 61cef13a82
commit d79488a964

View File

@ -24,7 +24,7 @@ steps:
- | - |
mkdir -p /etc/docker && echo '{"insecure-registries": ["${REGISTRY}"]}' \ mkdir -p /etc/docker && echo '{"insecure-registries": ["${REGISTRY}"]}' \
> /etc/docker/daemon.json > /etc/docker/daemon.json
- service docker reload - systemctl reload docker
- 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