From 51306bf78f37a82da53976b2e9744626e1549ee6 Mon Sep 17 00:00:00 2001 From: Esko Luontola Date: Wed, 3 Jul 2024 14:11:13 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20The=20github-pages=20container?= =?UTF-8?q?=20doesn't=20work=20anymore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Why: - It crashes with "Segmentation fault" on M3 Macbook. Looks like it's not compatible with ARM. Related issue: https://github.com/Starefossen/docker-github-pages/issues/74 - Consider adapting the docker image (ghcr.io/actions/jekyll-build-pages) that GitHub uses for building the site in GitHub Actions. - Consider merging the front page and user guide into the application, and get rid of the Jekyll site. --- docs/start.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/start.sh b/docs/start.sh index 6ac32ec8..1f7c93f0 100755 --- a/docs/start.sh +++ b/docs/start.sh @@ -1,3 +1,7 @@ #!/bin/sh set -eux docker run -it --rm -v "$PWD":/usr/src/app -p "4000:4000" starefossen/github-pages + +# TODO: try building the site with ghcr.io/actions/jekyll-build-pages:v1.0.12 +# https://github.com/luontola/territory-bro/actions/runs/9765255217/job/26955518499 +# docker run --name ghcrioactionsjekyllbuildpagesv1012_1d9f6f --label 88f5df --workdir /github/workspace --rm -e "INPUT_SOURCE" -e "INPUT_DESTINATION" -e "INPUT_FUTURE" -e "INPUT_BUILD_REVISION" -e "INPUT_VERBOSE" -e "INPUT_TOKEN" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_ID_TOKEN_REQUEST_URL" -e "ACTIONS_ID_TOKEN_REQUEST_TOKEN" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/territory-bro/territory-bro":"/github/workspace" ghcr.io/actions/jekyll-build-pages:v1.0.12