From 2001731059c1cf9e2850214d31450ea364398045 Mon Sep 17 00:00:00 2001 From: Karsten Hassel Date: Mon, 26 Jan 2026 22:35:33 +0100 Subject: [PATCH 1/2] ignore dead localhost links --- .vitepress/config.mts | 1 + 1 file changed, 1 insertion(+) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index ca3ad8c2..bd8c4986 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -5,6 +5,7 @@ export default defineConfig({ title: "MagicMirror² Docs", description: "The open source modular smart mirror platform.", lang: "en", + ignoreDeadLinks: "localhostLinks", head: [ [ "script", From 554e1028acf10c6eb6e1d9836ceed1ce93ffb28f Mon Sep 17 00:00:00 2001 From: Karsten Hassel Date: Mon, 26 Jan 2026 22:35:54 +0100 Subject: [PATCH 2/2] add container build --- .github/workflows/container-build.yaml | 36 ++++++++++++++++++++++++ container/Dockerfile | 25 +++++++++++++++++ container/default.conf | 26 ++++++++++++++++++ container/nginx.conf | 38 ++++++++++++++++++++++++++ cspell.config.json | 2 +- 5 files changed, 126 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/container-build.yaml create mode 100644 container/Dockerfile create mode 100644 container/default.conf create mode 100644 container/nginx.conf diff --git a/.github/workflows/container-build.yaml b/.github/workflows/container-build.yaml new file mode 100644 index 00000000..bf582468 --- /dev/null +++ b/.github/workflows/container-build.yaml @@ -0,0 +1,36 @@ +name: "Container Build" + +on: + push: + branches: + - "master" + - "develop" + +permissions: + contents: read + packages: write + +jobs: + build: + runs-on: ubuntu-latest + timeout-minutes: 10 + container: + image: moby/buildkit:latest + options: --privileged + steps: + - name: Checkout code + uses: actions/checkout@v6 + - name: Build container + run: | + REPO="$(echo "$GITHUB_REPOSITORY" | tr "[:upper:]" "[:lower:]")" + PARAMS="--output type=image,\"name=ghcr.io/${REPO}:${{ github.ref_name }}\",push=true" + # registry credentials + export DOCKER_CONFIG="$(pwd)/container" + echo "{\"auths\":{\"ghcr.io\":{\"auth\":\"$(echo -n ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} | base64 -w 0)\"}}}" > $DOCKER_CONFIG/config.json + # build + buildctl-daemonless.sh build \ + --progress plain \ + --frontend=dockerfile.v0 \ + --local context=. \ + --local dockerfile=container \ + $PARAMS diff --git a/container/Dockerfile b/container/Dockerfile new file mode 100644 index 00000000..2a7ce6eb --- /dev/null +++ b/container/Dockerfile @@ -0,0 +1,25 @@ +FROM node:alpine AS builder + +WORKDIR /workspace + +COPY . . + +RUN <