From ff0f8692352cb9b797eec414284c306a8e45e6d5 Mon Sep 17 00:00:00 2001 From: ale Date: Sun, 6 Oct 2024 00:41:33 +0200 Subject: [PATCH] .drone.yml --- .drone.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 95423cf..f6228b5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,10 +26,9 @@ steps: - name: usrbin path: /usr/bin commands: - - apk update && apk fix --reinstall git - - git clone --recursive https://git.manalejandro.com/ale/libretranslate-api . + - /usr/bin/git clone --recursive https://git.manalejandro.com/ale/libretranslate-api /drone/src/ - docker login -u $USER -p $PASS $REGISTRY - - docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f docker/Dockerfile ./LibreTranslate + - cd /drone/src && docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f docker/Dockerfile ./LibreTranslate - docker push $REGISTRY/libretranslate-api when: event: