From e1b8653cf1d61642bc7adc5e3e80c752f0a99c38 Mon Sep 17 00:00:00 2001 From: ale Date: Sun, 6 Oct 2024 00:55:37 +0200 Subject: [PATCH] .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 60c84bc..e471ef9 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 && service docker reload + - 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