ci: replace actions/checkout with manual git clone for node-less container
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 4s

This commit is contained in:
2026-02-23 19:26:57 +01:00
parent fba99f5d16
commit fd552f2a2b
2 changed files with 13 additions and 1 deletions

View File

@@ -23,7 +23,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
run: |
apk add --no-cache git
GITEA_HOST="${{ gitea.server_url }}"
GITEA_HOST="${GITEA_HOST#https://}"
GITEA_HOST="${GITEA_HOST#http://}"
git clone "https://oauth2:${{ secrets.GITEA_TOKEN }}@${GITEA_HOST}/${{ gitea.repository }}.git" .
git checkout ${{ gitea.sha }}
- name: Log in to Gitea registry
run: |