From 268619a6b722c0601310df82012313d630582a6a Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Fri, 12 Feb 2021 15:00:51 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Drone=20CI:=20Build=20the=20rest?= =?UTF-8?q?=20of=20the=20images?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.star | 7 ++++++- Dockerfile-ocrd_calamari03 | 3 ++- Dockerfile-ocrd_cis | 3 ++- Dockerfile-ocrd_fileformat | 3 ++- Dockerfile-sbb_binarization | 3 ++- Dockerfile-sbb_textline_detector | 3 ++- README-DEV.md | 6 ++++++ 7 files changed, 22 insertions(+), 6 deletions(-) diff --git a/.drone.star b/.drone.star index bdd623c..d1813c1 100644 --- a/.drone.star +++ b/.drone.star @@ -25,9 +25,14 @@ def main(ctx): step_for(ctx, "dinglehopper"), step_for(ctx, "ocrd_calamari"), + step_for(ctx, "ocrd_calamari03"), + step_for(ctx, "ocrd_cis"), + step_for(ctx, "ocrd_fileformat"), step_for(ctx, "ocrd_olena"), - step_for(ctx, "ocrd_tesserocr"), step_for(ctx, "ocrd_segment"), + step_for(ctx, "ocrd_tesserocr"), + step_dor(ctx, "sbb_binarization"), + step_dor(ctx, "sbb_textline_detector"), ] } diff --git a/Dockerfile-ocrd_calamari03 b/Dockerfile-ocrd_calamari03 index 6d4089b..9879891 100644 --- a/Dockerfile-ocrd_calamari03 +++ b/Dockerfile-ocrd_calamari03 @@ -1,4 +1,5 @@ -FROM my_ocrd_workflow-core +ARG DRONE_COMMIT="latest" +FROM mikegerber/my_ocrd_workflow-core-cuda10.0:$DRONE_COMMIT ARG PIP_INSTALL="pip install --no-cache-dir" diff --git a/Dockerfile-ocrd_cis b/Dockerfile-ocrd_cis index f846251..068a82e 100644 --- a/Dockerfile-ocrd_cis +++ b/Dockerfile-ocrd_cis @@ -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_CIS_VERSION="0.1.5" diff --git a/Dockerfile-ocrd_fileformat b/Dockerfile-ocrd_fileformat index 978531a..d9e8fe4 100644 --- a/Dockerfile-ocrd_fileformat +++ b/Dockerfile-ocrd_fileformat @@ -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" # XXX ARG OCRD_FILEFORMAT_VERSION="0.2.0" diff --git a/Dockerfile-sbb_binarization b/Dockerfile-sbb_binarization index 5d50ad5..85b35cc 100644 --- a/Dockerfile-sbb_binarization +++ b/Dockerfile-sbb_binarization @@ -1,4 +1,5 @@ -FROM my_ocrd_workflow-core +ARG DRONE_COMMIT="latest" +FROM mikegerber/my_ocrd_workflow-core-cuda10.0:$DRONE_COMMIT ARG PIP_INSTALL="pip install --no-cache-dir" ARG SBB_BINARIZATION_COMMIT="ea69494" diff --git a/Dockerfile-sbb_textline_detector b/Dockerfile-sbb_textline_detector index 1c81809..39daace 100644 --- a/Dockerfile-sbb_textline_detector +++ b/Dockerfile-sbb_textline_detector @@ -1,4 +1,5 @@ -FROM my_ocrd_workflow-core-cuda10.0 +ARG DRONE_COMMIT="latest" +FROM mikegerber/my_ocrd_workflow-core-cuda10.0:$DRONE_COMMIT ARG PIP_INSTALL="pip install --no-cache-dir" ARG SBB_TEXTLINE_DETECTOR_COMMIT="451b71f" diff --git a/README-DEV.md b/README-DEV.md index ab648ff..675d7e7 100644 --- a/README-DEV.md +++ b/README-DEV.md @@ -1,3 +1,9 @@ +How to add a processor +---------------------- +* Add a Dockerfile +* Add to `build` +* Add to `.drone.star` + Releasing --------- * `git tag -m 'v' 'v'`