fix: Use external registry URL for proper Bearer token auth
Some checks failed
Build and Push Images / determine-version (push) Successful in 1m32s
Build and Push Images / build-nvidia (push) Failing after 6m47s
Build and Push Images / build-rdna2 (push) Failing after 7m8s
Build and Push Images / build-strixhalo (push) Failing after 6m35s
Build and Push Images / build-intel (push) Failing after 6m35s
Build and Push Images / Release (push) Has been skipped
Build and Push Images / Notify (push) Successful in 2s

Gitea's container registry uses Bearer token auth with realm pointing
to external URL. Changed from internal K8s service URL to
registry.lab.daviestechlabs.io for proper auth flow.

Also removed insecure registry buildx config since using HTTPS now.
This commit is contained in:
2026-02-04 08:11:37 -05:00
parent 5cb79a0fe7
commit e299f6476e

View File

@@ -23,9 +23,9 @@ on:
default: 'all'
env:
# 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
# Use external registry URL for proper Bearer token auth flow
REGISTRY: registry.lab.daviestechlabs.io/daviestechlabs
REGISTRY_HOST: registry.lab.daviestechlabs.io
NTFY_URL: http://ntfy.observability.svc.cluster.local:80
jobs:
@@ -101,10 +101,8 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
# Configure buildx to use HTTP for internal registry
buildkitd-config-inline: |
[registry."gitea-http.gitea.svc.cluster.local:3000"]
http = true
[registry."registry.lab.daviestechlabs.io"]
insecure = true
# Login to Docker Hub to avoid pull rate limits
@@ -159,8 +157,7 @@ jobs:
uses: docker/setup-buildx-action@v3
with:
buildkitd-config-inline: |
[registry."gitea-http.gitea.svc.cluster.local:3000"]
http = true
[registry."registry.lab.daviestechlabs.io"]
insecure = true
- name: Login to Docker Hub
@@ -213,8 +210,7 @@ jobs:
uses: docker/setup-buildx-action@v3
with:
buildkitd-config-inline: |
[registry."gitea-http.gitea.svc.cluster.local:3000"]
http = true
[registry."registry.lab.daviestechlabs.io"]
insecure = true
- name: Login to Docker Hub
@@ -267,8 +263,7 @@ jobs:
uses: docker/setup-buildx-action@v3
with:
buildkitd-config-inline: |
[registry."gitea-http.gitea.svc.cluster.local:3000"]
http = true
[registry."registry.lab.daviestechlabs.io"]
insecure = true
- name: Login to Docker Hub