From 0a574734f4608163a10b19b4a029d24c92a9feb3 Mon Sep 17 00:00:00 2001 From: user Date: Sun, 22 Feb 2026 07:38:47 +0100 Subject: [PATCH] fix: use node:22-alpine for lint job markdownlint-cli2 image runs as non-root, blocking apk install. Use node-alpine base with npx instead. --- .gitea/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c9f7500..9e3e5f6 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -9,14 +9,14 @@ on: jobs: lint: runs-on: linux - container: docker.io/davidanson/markdownlint-cli2:v0.17.2 + container: node:22-alpine steps: - run: apk add --no-cache git - run: | git clone --depth 1 \ -c "http.extraHeader=Authorization: token ${{ github.token }}" \ "${{ github.server_url }}/${{ github.repository }}.git" . - - run: markdownlint-cli2 "**/*.md" + - run: npx markdownlint-cli2 "**/*.md" link-check: runs-on: linux