build-arm64
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
898a61408c
commit
a08cb51cc8
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user