From b746f3585585a321a46c3498223e5e21f88b2e16 Mon Sep 17 00:00:00 2001 From: ale Date: Sun, 6 Oct 2024 02:24:28 +0200 Subject: [PATCH] .drone.yml --- .drone.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0d330ef..562128c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,11 +20,8 @@ steps: from_secret: pass REGISTRY: from_secret: registry + DOCKER_OPTS: "--insecure-registry=$REGISTRY" commands: - - | - mkdir -p /etc/docker && echo '{"insecure-registries": ["${REGISTRY}"]}' \ - > /etc/docker/daemon.json - - killall -HUP dockerd - 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