fix(ci): manual git checkout (job image has no node)
Some checks failed
build-and-deploy / build-deploy (push) Failing after 1s

This commit is contained in:
automation 2026-09-14 10:14:23 +03:00
parent 04461a10e5
commit 2b3cb0e8e7

View file

@ -18,10 +18,14 @@ jobs:
env: env:
DOCKER_HOST: tcp://localhost:2375 DOCKER_HOST: tcp://localhost:2375
steps: steps:
# Manual git checkout instead of actions/checkout@v4: the job image
# (docker:27-cli, from the k8s-arm64 runner label) has no Node.js, so JS
# actions fail with "exec: node: not found". Plain git needs only what the
# image already has (git + docker) and avoids pulling a heavy act image.
- name: Checkout - name: Checkout
uses: actions/checkout@v4 run: |
with: git clone -q -b "${GITHUB_REF_NAME:-main}" \
fetch-depth: 0 "http://ci:${{ secrets.FORGEJO_TOKEN }}@forgejo.forgejo.svc/${{ github.repository }}.git" .
- name: Short SHA - name: Short SHA
id: sha id: sha