From 619d15ff101138f881c1f0824fa0cd9089978ece Mon Sep 17 00:00:00 2001 From: "J. Peter M. Schuler" Date: Wed, 2 Aug 2023 10:46:30 +0200 Subject: [PATCH] [BUGFIX] Use ghcr docs render image (#904) The new `runTests.sh` relies on the `ghcr.io` image. However the image itself relies on a non-prefixed version of the image. Thus, the image can't be pulled automatically, because it needs to be tagged afterwards. Fixes #903 --- composer.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0e95554..09bffe9 100644 --- a/composer.json +++ b/composer.json @@ -154,7 +154,12 @@ "ci:yaml:lint": "find . ! -path '*.Build/*' ! -path '*node_modules/*' -regextype egrep -regex '.*.ya?ml$' | xargs -r php ./.Build/bin/yaml-lint", "coverage:create-directories": "mkdir -p .Build/logs .Build/coverage", "docs:generate": [ - "docker run --rm t3docs/render-documentation show-shell-commands > tempfile.sh; echo 'dockrun_t3rd makehtml' >> tempfile.sh; bash tempfile.sh; rm tempfile.sh" + "@docs:generate:pullimage", + "docker run --rm ghcr.io/t3docs/render-documentation show-shell-commands > tempfile.sh; echo 'dockrun_t3rd makehtml' >> tempfile.sh; bash tempfile.sh; rm tempfile.sh" + ], + "docs:generate:pullimage": [ + "docker pull ghcr.io/t3docs/render-documentation", + "docker tag ghcr.io/t3docs/render-documentation t3docs/render-documentation" ], "fix:composer:normalize": "@composer normalize --no-check-lock", "fix:php": [