fix(ci): moved domain to internal dns name, hopefully runner respects that and this negates the 502 error when too many requests are sent to vps

This commit is contained in:
2026-03-14 19:15:15 -04:00
parent 8790abfbf7
commit 068aecce61
+6 -6
View File
@@ -20,14 +20,14 @@ jobs:
- name: Checkout code - name: Checkout code
shell: sh shell: sh
run: | run: |
git clone https://gitea.leeworks.dev/${{ gitea.repository }}.git . git clone https://gitea.gitea.svc.cluster.local/${{ gitea.repository }}.git .
git checkout ${{ gitea.sha }} git checkout ${{ gitea.sha }}
- name: Determine image tags - name: Determine image tags
id: tags id: tags
shell: sh shell: sh
run: | run: |
REGISTRY="gitea.leeworks.dev" REGISTRY="gitea.gitea.svc.cluster.local"
REPO_OWNER="${{ gitea.repository_owner }}" REPO_OWNER="${{ gitea.repository_owner }}"
REPO_NAME="${{ gitea.repository }}" REPO_NAME="${{ gitea.repository }}"
@@ -60,7 +60,7 @@ jobs:
- name: Login to registry - name: Login to registry
shell: sh shell: sh
run: | run: |
echo "${{ secrets.PERSONAL_TOKEN }}" | docker login gitea.leeworks.dev -u "${{ gitea.actor }}" --password-stdin echo "${{ secrets.PERSONAL_TOKEN }}" | docker login gitea.gitea.svc.cluster.local -u "${{ gitea.actor }}" --password-stdin
- name: Build and push API image - name: Build and push API image
shell: sh shell: sh
@@ -90,14 +90,14 @@ jobs:
- name: Checkout code - name: Checkout code
shell: sh shell: sh
run: | run: |
git clone https://gitea.leeworks.dev/${{ gitea.repository }}.git . git clone https://gitea.gitea.svc.cluster.local/${{ gitea.repository }}.git .
git checkout ${{ gitea.sha }} git checkout ${{ gitea.sha }}
- name: Determine image tags - name: Determine image tags
id: tags id: tags
shell: sh shell: sh
run: | run: |
REGISTRY="gitea.leeworks.dev" REGISTRY="gitea.gitea.svc.cluster.local"
REPO_OWNER="${{ gitea.repository_owner }}" REPO_OWNER="${{ gitea.repository_owner }}"
REPO_NAME="${{ gitea.repository }}" REPO_NAME="${{ gitea.repository }}"
@@ -130,7 +130,7 @@ jobs:
- name: Login to registry - name: Login to registry
shell: sh shell: sh
run: | run: |
echo "${{ secrets.PERSONAL_TOKEN }}" | docker login gitea.leeworks.dev -u "${{ gitea.actor }}" --password-stdin echo "${{ secrets.PERSONAL_TOKEN }}" | docker login gitea.gitea.svc.cluster.local -u "${{ gitea.actor }}" --password-stdin
- name: Build and push frontend image - name: Build and push frontend image
shell: sh shell: sh