.drone.yml
Algunas comprobaciones han fallado
continuous-integration/drone/push Build is failing

Este commit está contenido en:
ale
2024-10-06 00:45:33 +02:00
padre ff0f869235
commit 7e2f5477a4

Ver fichero

@@ -20,13 +20,9 @@ steps:
from_secret: pass
REGISTRY:
from_secret: registry
volumes:
- name: dockersock
path: /var/run/docker.sock
- name: usrbin
path: /usr/bin
commands:
- /usr/bin/git clone --recursive https://git.manalejandro.com/ale/libretranslate-api /drone/src/
- apk update && apk fix --reinstall git
- git clone --recursive https://git.manalejandro.com/ale/libretranslate-api /drone/src/
- docker login -u $USER -p $PASS $REGISTRY
- cd /drone/src && docker buildx build --platform amd64 -t $REGISTRY/libretranslate-api -f docker/Dockerfile ./LibreTranslate
- docker push $REGISTRY/libretranslate-api
@@ -34,11 +30,3 @@ steps:
event:
- push
- tag
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
- name: usrbin
host:
path: /usr/bin