Use manual git clone instead of actions/checkout
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m6s

The docker:latest container doesn't have Node.js, which is
required by actions/checkout@v4. Use manual git clone instead.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Kevin Sivic 2025-12-01 07:35:22 -05:00
parent 05b8168674
commit 7a20ce077b

View file

@ -12,7 +12,9 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
run: |
git clone ${{ github.server_url }}/${{ github.repository }} .
git checkout ${{ github.sha }}
- name: Log in to Forgejo Container Registry
run: echo "${{ secrets.GITEA_TOKEN }}" | docker login forgejo.sivic.me -u ${{ github.actor }} --password-stdin