diff --git a/.drone.yml b/.drone.yml index b254844..b7af50d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,9 +26,9 @@ steps: - name: etcdocker path: /etc/docker commands: + - docker login -u $USER -p $PASS $REGISTRY - docker run --rm --privileged $REGISTRY/qemu-user-static --reset -p yes - git clone --recursive https://git.manalejandro.com/ale/libretranslate-api . - - docker login -u $USER -p $PASS $REGISTRY - cd LibreTranslate && docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f ./docker/Dockerfile . - docker push $REGISTRY/libretranslate-api when: