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: |
|
||||
|
||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
Reference in New Issue
Block a user