Fix Gitea Actions: replace actions/checkout with manual git clone
Runner job containers cannot resolve internal 'gitea' hostname. Use public URL (git.produktor.io) for checkout instead. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Vendored
+6
-4
@@ -27,7 +27,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://github.com/actions/checkout@v4
|
run: |
|
||||||
|
git clone --depth=1 https://git.produktor.io/${{ gitea.repository }}.git .
|
||||||
|
git checkout ${{ gitea.sha }}
|
||||||
|
|
||||||
- name: Install Helm
|
- name: Install Helm
|
||||||
run: |
|
run: |
|
||||||
@@ -49,9 +51,9 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://github.com/actions/checkout@v4
|
run: |
|
||||||
with:
|
git clone https://git.produktor.io/${{ gitea.repository }}.git .
|
||||||
fetch-depth: 0
|
git checkout ${{ gitea.sha }}
|
||||||
|
|
||||||
- name: Install Helm
|
- name: Install Helm
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user