ci: use gitea-http-ci ClusterIP service for reliable clone
CI/CD Pipeline / quality-and-security (push) Successful in 9s
CI/CD Pipeline / build-and-push (push) Failing after 4s
CI/CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
2026-07-02 07:33:33 +00:00
parent 4360c6fa3d
commit c989d2c189
+3 -4
View File
@@ -9,12 +9,11 @@ jobs:
runs-on: ubuntu-latest
container:
image: node:20-alpine
options: --dns 10.43.0.10
steps:
- name: Checkout Code
run: |
apk add --no-cache git
git clone http://gitea-http.gitea.svc.cluster.local:3000/${{ gitea.repository }}.git .
git clone http://gitea-http-ci.gitea.svc.cluster.local:3000/${{ gitea.repository }}.git .
git checkout ${{ gitea.sha }}
- name: Install dependencies (API)
@@ -32,7 +31,7 @@ jobs:
steps:
- name: Checkout Code
run: |
git clone http://gitea-http.gitea.svc.cluster.local:3000/${{ gitea.repository }}.git .
git clone http://gitea-http-ci.gitea.svc.cluster.local:3000/${{ gitea.repository }}.git .
git checkout ${{ gitea.sha }}
- name: Build API Docker Image
@@ -56,7 +55,7 @@ jobs:
steps:
- name: Clone GitOps Repo
run: |
git clone http://gitea-http.gitea.svc.cluster.local:3000/khalil/tamagotchi-gitops.git .
git clone http://gitea-http-ci.gitea.svc.cluster.local:3000/khalil/tamagotchi-gitops.git .
git config user.name "Gitea Actions"
git config user.email "actions@gitea.local"