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