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
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 4s
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user