From f7d85b5ee38395d8ede711e63a0da4256fa607ba Mon Sep 17 00:00:00 2001 From: ale Date: Sun, 6 Oct 2024 00:59:39 +0200 Subject: [PATCH] .drone.yml --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e471ef9..ab313d9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,7 +21,8 @@ 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