From 456f08ec817e0fdf656870ca0904f84bf72e1d9b Mon Sep 17 00:00:00 2001 From: "Billy D." Date: Mon, 2 Feb 2026 13:28:51 -0500 Subject: [PATCH] fix: use internal K8s service URL for container registry - Switch from external git.daviestechlabs.io to internal gitea-http.gitea.svc - Avoids Cloudflare/Authentik routing since runner is in-cluster - Add REGISTRY_HOST env var for login steps --- .gitea/workflows/build-push.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index bd801e3..dc7c5a8 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -23,7 +23,9 @@ on: default: 'all' env: - REGISTRY: git.daviestechlabs.io/daviestechlabs + # Use internal K8s service URL for container registry (runner is in-cluster) + REGISTRY: gitea-http.gitea.svc.cluster.local:3000/daviestechlabs + REGISTRY_HOST: gitea-http.gitea.svc.cluster.local:3000 NTFY_URL: http://ntfy.observability.svc.cluster.local:80 jobs: @@ -54,7 +56,7 @@ jobs: if: github.event_name != 'pull_request' uses: docker/login-action@v3 with: - registry: git.daviestechlabs.io + registry: ${{ env.REGISTRY_HOST }} username: ${{ secrets.REGISTRY_USER }} password: ${{ secrets.REGISTRY_TOKEN }} @@ -105,7 +107,7 @@ jobs: if: github.event_name != 'pull_request' uses: docker/login-action@v3 with: - registry: git.daviestechlabs.io + registry: ${{ env.REGISTRY_HOST }} username: ${{ secrets.REGISTRY_USER }} password: ${{ secrets.REGISTRY_TOKEN }} @@ -156,7 +158,7 @@ jobs: if: github.event_name != 'pull_request' uses: docker/login-action@v3 with: - registry: git.daviestechlabs.io + registry: ${{ env.REGISTRY_HOST }} username: ${{ secrets.REGISTRY_USER }} password: ${{ secrets.REGISTRY_TOKEN }} @@ -207,7 +209,7 @@ jobs: if: github.event_name != 'pull_request' uses: docker/login-action@v3 with: - registry: git.daviestechlabs.io + registry: ${{ env.REGISTRY_HOST }} username: ${{ secrets.REGISTRY_USER }} password: ${{ secrets.REGISTRY_TOKEN }}