From 068aecce61a1f0f82ba0135d0a28f60a801a1f84 Mon Sep 17 00:00:00 2001 From: 0xWheatyz Date: Sat, 14 Mar 2026 19:15:15 -0400 Subject: [PATCH] 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 --- .gitea/workflows/build.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 1517e6d..60045d4 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -20,14 +20,14 @@ jobs: - name: Checkout code shell: sh 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 }} - name: Determine image tags id: tags shell: sh run: | - REGISTRY="gitea.leeworks.dev" + REGISTRY="gitea.gitea.svc.cluster.local" REPO_OWNER="${{ gitea.repository_owner }}" REPO_NAME="${{ gitea.repository }}" @@ -60,7 +60,7 @@ jobs: - name: Login to registry shell: sh 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 shell: sh @@ -90,14 +90,14 @@ jobs: - name: Checkout code shell: sh 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 }} - name: Determine image tags id: tags shell: sh run: | - REGISTRY="gitea.leeworks.dev" + REGISTRY="gitea.gitea.svc.cluster.local" REPO_OWNER="${{ gitea.repository_owner }}" REPO_NAME="${{ gitea.repository }}" @@ -130,7 +130,7 @@ jobs: - name: Login to registry shell: sh 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 shell: sh