From 4db2182a3dce540068b30eedea299d89847f3040 Mon Sep 17 00:00:00 2001 From: Hexadual Date: Thu, 30 Apr 2026 01:37:17 -0500 Subject: [PATCH] Fix CI: replace actions/checkout with git clone (no Node.js needed) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Host-mode runner has no Node.js so JS composite actions fail. All steps are now plain shell — git clone for checkout, docker CLI for build/push. Zero external action dependencies. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/docker.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 856f38d..c0d931a 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -16,7 +16,11 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + run: | + git clone --depth 1 \ + https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@git.hexadual.io/${{ github.repository }}.git \ + . + git checkout ${{ github.sha }} - name: Log in to registry run: | @@ -43,4 +47,4 @@ jobs: - name: Logout if: always() - run: docker logout ${{ env.REGISTRY }} + run: docker logout ${{ env.REGISTRY }} || true