From bdbd7d8f84bd95b9a4332430f2ddf662d58ef523 Mon Sep 17 00:00:00 2001 From: ale Date: Fri, 4 Oct 2024 12:22:28 +0200 Subject: [PATCH] .drone.yml --- .drone.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6f1b0f6..9caa80c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,10 +10,6 @@ clone: disable: true steps: -- name: clone - image: alpine/git - commands: - - git clone --recursive https://git.manalejandro.com/ale/libretranslate-api . - name: build image: docker:dind privileged: true @@ -30,6 +26,7 @@ steps: - name: usrbin path: /usr/bin commands: + - 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