From 1606cc522ce5e240626b35cfa7f35dcd756aa298 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Fri, 12 Feb 2021 13:17:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Drone=20CI:=20Build=20dinglehopp?= =?UTF-8?q?er,=20ocrd=5F{calamari,segment}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.star | 7 +++++++ Dockerfile-dinglehopper | 3 ++- Dockerfile-ocrd_calamari | 3 ++- Dockerfile-ocrd_segment | 3 ++- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.drone.star b/.drone.star index d84c4f7..bdd623c 100644 --- a/.drone.star +++ b/.drone.star @@ -18,9 +18,16 @@ def main(ctx): "FORCE_DOWNLOAD=y ./build-tmp-XXX" ] }, + # We can't glob and have to add here manually... step_for(ctx, "core"), + step_for(ctx, "core-cuda10.0"), + step_for(ctx, "core-cuda10.1"), + + step_for(ctx, "dinglehopper"), + step_for(ctx, "ocrd_calamari"), step_for(ctx, "ocrd_olena"), step_for(ctx, "ocrd_tesserocr"), + step_for(ctx, "ocrd_segment"), ] } diff --git a/Dockerfile-dinglehopper b/Dockerfile-dinglehopper index 8885325..e081f31 100644 --- a/Dockerfile-dinglehopper +++ b/Dockerfile-dinglehopper @@ -1,4 +1,5 @@ -FROM my_ocrd_workflow-core +ARG DRONE_COMMIT="latest" +FROM mikegerber/my_ocrd_workflow-core:$DRONE_COMMIT ARG PIP_INSTALL="pip install --no-cache-dir" ARG DINGLEHOPPER_COMMIT="6e47acd" diff --git a/Dockerfile-ocrd_calamari b/Dockerfile-ocrd_calamari index 58e2067..d1b74d5 100644 --- a/Dockerfile-ocrd_calamari +++ b/Dockerfile-ocrd_calamari @@ -1,4 +1,5 @@ -FROM my_ocrd_workflow-core-cuda10.1 +ARG DRONE_COMMIT="latest" +FROM mikegerber/my_ocrd_workflow-core-cuda10.1:$DRONE_COMMIT # XXX https://github.com/OCR-D/core/issues/642 diff --git a/Dockerfile-ocrd_segment b/Dockerfile-ocrd_segment index 3581781..d374111 100644 --- a/Dockerfile-ocrd_segment +++ b/Dockerfile-ocrd_segment @@ -1,4 +1,5 @@ -FROM my_ocrd_workflow-core +ARG DRONE_COMMIT="latest" +FROM mikegerber/my_ocrd_workflow-core:$DRONE_COMMIT ARG PIP_INSTALL="pip install --no-cache-dir" ARG OCRD_SEGMENT_VERSION="0.1.8"