diff --git a/.drone.yml b/.drone.yml index 1ea152f..2e92114 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,8 +26,7 @@ steps: - name: usrbin path: /usr/bin commands: - - apk update && apk add git - - git clone --recursive https://git.manalejandro.com/ale/libretranslate-api . + - apk update && apk upgrade && apk add --no-cache git && 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