diff --git a/.drone.yml b/.drone.yml index a3e5c10..486dec8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/README.md b/README.md index dd4e584..48ffa92 100644 --- a/README.md +++ b/README.md @@ -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