From 479e654a5e2771277a1dfaa0bee8d33121e13a99 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 17 Aug 2023 18:15:13 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=92=20README-DEV:=20How=20to=20test=20the?= =?UTF-8?q?=20GitHub=20Action=20builds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-DEV.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README-DEV.md b/README-DEV.md index 6fa07e4..d751c6a 100644 --- a/README-DEV.md +++ b/README-DEV.md @@ -30,8 +30,21 @@ releases of qurator-spk releases. Test builds ----------- -XXX Review this ``` GIT_COMMIT=test ./build Dockerfile-core Dockerfile-ocrd_tesserocr DOCKER_IMAGE_TAG=test ./test-ocrd_tesserocr.sh ``` + +To test the GitHub Action builds: + +``` +# by branch +# Note that these only get tagged if *all* the builds succeeded and ran their +# tests successfully +export DOCKER_IMAGE_TAG=master + +# by git commit id +# these work even if other processors did not succesfully build (or ran their +# tests successfully) +export DOCKER_IMAGE_TAG=sha-af6da489e24c9ba7828114b546610b0d70116ba4 +```