Use manual git clone instead of actions/checkout
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m6s
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:
parent
05b8168674
commit
7a20ce077b
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue