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

This commit is contained in:
ale 2024-10-06 01:04:21 +02:00
parent 347e63d117
commit 6e9f34814b

View File

@ -21,7 +21,9 @@ steps:
REGISTRY: REGISTRY:
from_secret: registry from_secret: registry
commands: commands:
- echo '{"insecure-registries": ["${REGISTRY}"]}' > /etc/docker/daemon.json - |
echo '{"insecure-registries": ["${REGISTRY}"]}' \
> /etc/docker/daemon.json
- service docker reload - service docker reload
- 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