From def0dc3a7f41f27cd43c14607a1ef3011279e002 Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Sun, 16 Aug 2026 17:13:37 +0200 Subject: [PATCH] new buidl script no need for node --- .gitea/workflows/container.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/container.yml b/.gitea/workflows/container.yml index 4276d0e..53e12f9 100644 --- a/.gitea/workflows/container.yml +++ b/.gitea/workflows/container.yml @@ -10,8 +10,16 @@ jobs: build-and-push: runs-on: debian13 steps: + # actions/checkout is a Node.js based action, but the "debian13" runner + # has no Node.js installed, which causes: + # "exec: node: executable file not found in $PATH" + # Do a plain git checkout instead, which only needs git/bash. - name: Checkout code - uses: actions/checkout@v4 + run: | + git init + git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" + git fetch --depth 1 origin "${GITHUB_SHA}" + git checkout --force FETCH_HEAD - name: Log in to Gitea Container Registry run: |