build-arm64
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
ale 2024-10-08 12:13:48 +02:00
parent 898a61408c
commit a08cb51cc8
2 changed files with 9 additions and 1 deletions

View File

@ -56,6 +56,8 @@ steps:
- git clone --recursive https://git.manalejandro.com/ale/libretranslate-api .
- cd LibreTranslate && docker buildx build --build-arg with_models=true --platform amd64 -t $REGISTRY/libretranslate-api -f ./docker/Dockerfile .
- docker push $REGISTRY/libretranslate-api
- docker tag $REGISTRY/libretranslate-api $REGISTRY/libretranslate-api:amd64
- docker push $REGISTRY/libretranslate-api:amd64
when:
event:
- push
@ -68,3 +70,7 @@ volumes:
- name: etcdocker
host:
path: /etc/docker
depends_on:
- build-arm64
- build-amd64

View File

@ -28,7 +28,9 @@ $ curl "http://libretranslate-api:5080/?target=es&text=help"
Pull from manalejandro registry:
```
$ docker pull registry.manalejandro.com/libretranslate-api
$ docker pull registry.manalejandro.com/libretranslate-api:amd64
or
$ docker pull registry.manalejandro.com/libretranslate-api:arm64
```
### License