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