From a08cb51cc8186d1fe6d56c249448eff67b911463 Mon Sep 17 00:00:00 2001 From: ale Date: Tue, 8 Oct 2024 12:13:48 +0200 Subject: [PATCH] build-arm64 --- .drone.yml | 6 ++++++ README.md | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) 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