From 6e9f34814b3b97b08a896dd56a629c3f1379787e Mon Sep 17 00:00:00 2001 From: ale Date: Sun, 6 Oct 2024 01:04:21 +0200 Subject: [PATCH] .drone.yml --- .drone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 1053551..7b75629 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,7 +21,9 @@ steps: REGISTRY: from_secret: registry commands: - - echo '{"insecure-registries": ["${REGISTRY}"]}' > /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