diff --git a/.drone.yml b/.drone.yml index ab313d9..1053551 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,7 +21,7 @@ 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