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 .
|
- 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 .
|
- 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 push $REGISTRY/libretranslate-api
|
||||||
|
- docker tag $REGISTRY/libretranslate-api $REGISTRY/libretranslate-api:amd64
|
||||||
|
- docker push $REGISTRY/libretranslate-api:amd64
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
@ -68,3 +70,7 @@ volumes:
|
|||||||
- name: etcdocker
|
- name: etcdocker
|
||||||
host:
|
host:
|
||||||
path: /etc/docker
|
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:
|
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
|
### License
|
||||||
|
Loading…
Reference in New Issue
Block a user