From b791dfec0a1d8eb8fb89398bcc979a230e794440 Mon Sep 17 00:00:00 2001 From: ale Date: Sat, 5 Oct 2024 01:01:49 +0200 Subject: [PATCH] .drone.yml --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index d9861be..2515b06 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,7 +26,8 @@ steps: - name: usrbin path: /usr/bin commands: - - apk update && apk add git && /usr/bin/git clone --recursive https://git.manalejandro.com/ale/libretranslate-api . + - apk add --no-cache git --repository https://alpine.global.ssl.fastly.net/alpine/v3.10/main + - git clone --recursive https://git.manalejandro.com/ale/libretranslate-api . - docker login -u $USER -p $PASS $REGISTRY - docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f docker/Dockerfile ./LibreTranslate - docker push $REGISTRY/libretranslate-api